perceptron-pos-tagging
This is a work of Part-of-Speech tagging using averaged perceptron. (An Orientation Homework at Tsuruoka Lab.)
Features
- Current word (one-hot)
- Previous word (one-hot)
- Predicted result of previous word
- Is the first word of the sentence?
- Is the last word of the sentence?
- Is the first letter capital?
- Are all letters capital?
- Are all letters digits?
- Does it end with 's'?
- Does it end with 'ing'?
- Does it end with 'tion'?
- Does it end with 'ed'?
- Does it end with 'y'?
Result
Accuracy of test dataset (using averaged weight): 94.67%