module documentation
Undocumented
Function | call |
Call the tadm binary with the given arguments. |
Function | config |
Undocumented |
Function | encoding |
Undocumented |
Function | names |
Undocumented |
Function | parse |
Given the stdout output generated by tadm when training a model, return a numpy array containing the corresponding weight vector. |
Function | write |
Generate an input file for tadm based on the given corpus of classified tokens. |
Variable | _tadm |
Undocumented |
Given the stdout output generated by tadm when training a model, return a numpy array containing the corresponding weight vector.
Generate an input file for tadm based on the given corpus of classified tokens.
Parameters | |
train | Training data, represented as a list of pairs, the first member of which is a feature dictionary, and the second of which is a classification label. |
encoding:TadmEventMaxentFeatureEncoding | A feature encoding, used to convert featuresets into feature vectors. |
stream:stream | The stream to which the tadm input file should be written. |