标签: memory nlp language-model kenlm
当加载用于评分句子的语言模型时,LM('bible.klm')文件大小是否小于RAM大小?
import kenlm model = kenlm.LanguageModel('bible.klm') model.score('in the beginning was the word')