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
GPL-3.0
COPYING
LGPL-3.0
COPYING.LESSER
Notifications You must be signed in to change notification settings

KayneWest/kenlm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

68d723d · Jul 3, 2012
Jul 3, 2012
Jun 28, 2012
Jul 3, 2012
Jun 28, 2012
May 5, 2012
May 5, 2012
Nov 15, 2011
Nov 15, 2011
May 5, 2012
Nov 17, 2011
Nov 16, 2011
Jul 3, 2012
Nov 15, 2011
Jun 3, 2012
Jan 23, 2012
Feb 9, 2012
May 7, 2012
Jul 3, 2012
Jun 3, 2012

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
GPL-3.0
COPYING
LGPL-3.0
COPYING.LESSER

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 99.0%
  • C 1.0%
  • Shell 0.0%
  • Bison 0.0%
  • Python 0.0%
  • Makefile 0.0%