Hi,
I'd use a perl-bash one-liner, something like:
cat ttable \
| perl -ne '@l=split / ||| /; print $l[0]' \
| sort -u | wc -l
and replace the 0 for 1 to get the target side.
Cheers, O.
Sanne Korzec <[email protected]> wrote:
>Hi mailing,
>
>Is there some way to see how many unique source and target phrases are used
>in the final moses phrase pair table?
>
>Regards,
>Sanne
>
>_______________________________________________
>Moses-support mailing list
>[email protected]
>http://mailman.mit.edu/mailman/listinfo/moses-support
--
Ondrej Bojar
http://www.cuni.cz/~obo
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support