- Added function for incremental training
- k is now an instance variable of Parser, and can be set at time of prediction.
- Created ParseClassifier class that handles all training and classification
- Created FeatureExtractor class that converts from states to featyre vectors and maintains mappings from vector to values
- Fixed an error in fv conversion in FeatureExtractor ; vector is now stored as a dict from feature # to value rather than a string.
- Fixed a bug that caused program to crash when writing training data out to file
- Parser now uses ParseClassifier completely to predict next action
- Removed feature extraction functions outside of FeatureExtractor class
- Removed completed todos
- Added functions for left arc, right arc, and shift
- Added functions to train using SVM
- Wrote code to predict using trained SVMs
- Calculates dependency label prediction accuracy and arc prediction accuracy separate
- Created separate class to write data
- Separate functions to train and write data