Skip to content

hijackedmc/polylingual-lda-cython-master

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

polylingual-lda-cython-master

An implementation of paper Polylingual Topic Models

Description

  1. This is a cython implementation of poly-lingual lda. Here, we refer to lda project.
  2. Fit, transform, fit_transform functions are implemented followed sklearn code style.
  3. We support standard lda when only one kind corpus is input.
  4. Input data should be a BOW matrix.
  5. If you want to see some output, you should instantiate a log object.

Install

  1. python setup.py build
  2. python setup.py install

Example

  1. Instantiate a log object.
  2. Make BOW matrixes of different lingual corpus.
  3. Throw BOW matrixes into the model and train.
  4. done.

Acknowledge

If you find some thing wrong in my code, please contact me. My email is [email protected].

About

An implementation of polylingual-lda in cython version.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published