You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Depends what you mean. If you want to get frequency of n-grams from raw text,
we don't support that. If you want an efficient in-memory representation of
some n-gram counts that you have already put in Google n-grams format, then you
can build a StupidBackOffLm and get access to the underlying counts using:
https://code.google.com/p/berkeleylm/source/browse/trunk/src/edu/berkeley/nlp/lm
/StupidBackoffLm.java#132
See here for an example:
https://code.google.com/p/berkeleylm/source/browse/trunk/src/edu/berkeley/nlp/lm
/io/MakeNgramMapBinaryFromGoogle.java#40
'
Let me now if you need further help.
Original issue reported on code.google.com by
[email protected]
on 8 Dec 2014 at 4:48The text was updated successfully, but these errors were encountered: