Skip to content

Polyglot is a language identifier for detecting text documents containing text written in more than one language, and for identifying the languages therein.

License

Notifications You must be signed in to change notification settings

saffsd/polyglot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Polyglot is a language identifier for detecting text documents containing text
written in more than one language, and for identifying the languages therein.
It is an experimental project. For monolingual language detection, langid.py[1]
is a proven off-the-shelf solution.

The theoretical motivation behind it is described in "Automatic Detection and 
Language Identification of Multilingual Documents.  Marco Lui, Jey Han Lau, 
Timothy Baldwin. TACL Vol 2 (2014)" [2].

To re-train polyglot on custom data, use the training tools for langid.py [1] 
to build a model, and convert it to polyglot's format using the script in 
./polyglot/convert.py

Marco Lui <[email protected]>,
November 2013

[1] https://github.com/saffsd/langid.py
[2] https://tacl2013.cs.columbia.edu/ojs/index.php/tacl/article/view/86

About

Polyglot is a language identifier for detecting text documents containing text written in more than one language, and for identifying the languages therein.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages