Kenlm-Sample
Sat 17 May 2025
title: "Kenlm Sample" author: "Rj" date: 2019-04-21 description: "-" type: technical_note draft: false
import kenlm
model = kenlm.Model('test.arpa')
print(model.score('this is a sentence .', bos = True, eos = True))
-49.579345703125
Score: 5
Category: textprocessing