I'm trying to convert the HelloNGram demo to use the Hub 4 dictionary. Right now when I try to load it, I'm getting a " HelloNGram: java.io.IOException: Corrupt Language Model file:/path_to/language_model.arpaformat.DMP at line 1640542:Premature EOF while waiting for \data\
What am I doing incorrectly? language_model.arpaformat.DMP is a binary file I believe, do I need to use a special loader? Has anyone done this already that could help me out?
Thanks in advance,
Sean
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm trying to convert the HelloNGram demo to use the Hub 4 dictionary. Right now when I try to load it, I'm getting a " HelloNGram: java.io.IOException: Corrupt Language Model file:/path_to/language_model.arpaformat.DMP at line 1640542:Premature EOF while waiting for \data\
What am I doing incorrectly? language_model.arpaformat.DMP is a binary file I believe, do I need to use a special loader? Has anyone done this already that could help me out?
Thanks in advance,