-
Couldn't load subscription status.
- Fork 532
Closed
Description
Hello, in the kenlm documents I found only one function to use: en_model.score(sentence).
Can you please provide detail description of functions available if there are?
I'm trying to parse unigram, birgram trigram probabilities from LM as they appear there.
For example LM contain the following lines. I need to have a function which will work like this: en_model.bigram_prob("too recognize") will return -4.923469
-4.923469 too recognised
-4.923469 too recognises
-4.923469 too recognize
-4.923469 too recommend
The same for unigrams and trigrams.
Does kenlm support such functionality ?
Thank you,
Zaven.
Metadata
Metadata
Assignees
Labels
No labels