class documentation
An averaged perceptron, as implemented by Matthew Honnibal.
- See more implementation details here:
- https://explosion.ai/blog/part-of-speech-pos-tagger-in-python
Class Method | decode |
Undocumented |
Method | __init__ |
Undocumented |
Method | average |
Average weights from all iterations. |
Method | encode |
Undocumented |
Method | load |
Load the pickled model weights. |
Method | predict |
Dot-product the features and current weights and return the best label. |
Method | save |
Save the pickled model weights. |
Method | update |
Update the feature weights. |
Class Variable | json |
Undocumented |
Instance Variable | classes |
Undocumented |
Instance Variable | i |
Undocumented |
Instance Variable | weights |
Undocumented |
Method | _softmax |
Undocumented |
Instance Variable | _totals |
Undocumented |
Instance Variable | _tstamps |
Undocumented |