gzip -cd model/phrase-table.gz | cut -d\| -f1 | sort | uniq -c | sort -nr | head -n5
(according to one definition of "ambiguous") > On May 11, 2016, at 2:53 AM, Joe Jean <[email protected]> wrote: > > Hello, > > How would you go about finding the top 5 most ambiguous words in a > translation system just by looking at the phrase table and the lexical > translation tables? Thanks. > > > <http://www.facebook.com/joe.jean3>_______________________________________________ > Moses-support mailing list > [email protected] <mailto:[email protected]> > http://mailman.mit.edu/mailman/listinfo/moses-support > <http://mailman.mit.edu/mailman/listinfo/moses-support>
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
