class documentation
class TextCat(object): (source)
Undocumented
Method | __init__ |
Undocumented |
Method | calc |
Calculate the "out-of-place" measure between the text and language profile for a single trigram |
Method | guess |
Find the language with the min distance to the text and return its ISO 639-3 code |
Method | lang |
Calculate the "out-of-place" measure between the text and all languages |
Method | profile |
Create FreqDist of trigrams within text |
Method | remove |
Get rid of punctuation except apostrophes |
Class Variable | fingerprints |
Undocumented |
Instance Variable | last |
Undocumented |
Constant | _END |
Undocumented |
Constant | _START |
Undocumented |
Instance Variable | _corpus |
Undocumented |