Kenlm Sample

import kenlm
model = kenlm.Model('test.arpa')
print(model.score('this is a sentence .', bos = True, eos = True))
-49.579345703125