danpovey / pocolm

Small language toolkit for creation, interpolation and pruning of ARPA language models
Other
90 stars 48 forks source link

Fixed get_data_prob.py bug when text is gzipped #94

Closed qtdaniel closed 5 years ago

qtdaniel commented 5 years ago

When the text is gzipped, the text_to_int.py command is constructed with the two arguments used in transposed positions.

danpovey commented 5 years ago

thanks, but can you leave it as {0} then {1} and flip the arguments themselves? It would be cleaner.

danpovey commented 5 years ago

Thanks!