Skip to content

Commit

Permalink
Rename Model to LanguageModel
Browse files Browse the repository at this point in the history
  • Loading branch information
xxks-kkk committed Dec 2, 2017
1 parent 25d7ab5 commit b47ec1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/example.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import kenlm

LM = os.path.join(os.path.dirname(__file__), '..', 'lm', 'test.arpa')
model = kenlm.Model(LM)
model = kenlm.LanguageModel(LM)
print('{0}-gram model'.format(model.order))

sentence = 'language modeling is fun .'
Expand Down

0 comments on commit b47ec1f

Please sign in to comment.