Skip to content
forked from kpu/kenlm

KenLM: Faster and Smaller Language Model Queries

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE
LGPL-2.1
COPYING
GPL-3.0
COPYING.3
Notifications You must be signed in to change notification settings

ABoltachev/kenlm

Repository files navigation

python-kenlm

A python interface to kenlm

Installation

pip install -e git+https://github.com/vchahun/kenlm.git#egg=kenlm

Basic Usage

import kenlm
model = kenlm.LanguageModel('examples/mini.klm')
sentence = u'this is a sentence .'
print model.score(sentence)

About

KenLM: Faster and Smaller Language Model Queries

Resources

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE
LGPL-2.1
COPYING
GPL-3.0
COPYING.3

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 96.7%
  • CMake 1.9%
  • Python 1.2%
  • Other 0.2%