Skip to content

mfaruqui/vpyp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vpyp

An implementation of Pitman-Yor processes in Python, inspired by cpyp.

Implemented models:

  • an n-gram model (Teh, 2006)
  • a topic model (LDA with a Pitman-Yor prior instead of a Dirichlet prior)
  • an alignment model (variant of the IBM 2 model)

Requirements:

  • Python 2.7 (pypy is highly recommended for speed)
  • the kenlm module, if you want to use character language models as base distributions

About

Pitman-Yor processes in python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published