kenlm.Model'对象没有属性'得分'在谷歌云ML上运行

时间:2017-05-25 11:15:43

标签: attributeerror google-cloud-ml google-cloud-ml-engine kenlm

AttributeError:' kenlm.Model'对象没有属性'得分'

>>> model = kenlm.Model('LM/en.europarl-nc.lm')
>>> model.score('This is a test')
    Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    AttributeError: 'kenlm.Model' object has no attribute 'score' 

0 个答案:

没有答案