I've met a problem that, I want to compute the prob of a sentence based on google book ngram corpus, but I got always NaN. all the lm file is downloaded from the official page.
command: java -ea -mx16g -server -cp ./src edu.berkeley.nlp.lm.io.ComputeLogProbabilityOfTextStream -o output.txt -g vocab_cs.gz eng.blm test.txt
test.txt:
i want it that way.
any help?
--
You received this message because you are subscribed to a topic in the Google Groups "berkeleylm-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/berkeleylm-discuss/TCnSSdA242M/unsubscribe.
To unsubscribe from this group and all its topics, send an email to berkeleylm-disc...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and all its topics, send an email to berkeleylm-discuss+unsub...@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to berkeleylm-disc...@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "berkeleylm-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/berkeleylm-discuss/TCnSSdA242M/unsubscribe.
To unsubscribe from this group and all its topics, send an email to berkeleylm-disc...@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to berkeleylm-discuss+unsub...@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "berkeleylm-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/berkeleylm-discuss/TCnSSdA242M/unsubscribe.
To unsubscribe from this group and all its topics, send an email to berkeleylm-discuss+unsub...@googlegroups.com.