Skip to content

cnrpman/dep_parser

Repository files navigation

Dependency Parser

This is a self-implemented dependency parser for 19Fall CSCI-662 @ USC
In consideration of academic integrity, please don't use this code for homework (if any)

Data preparation:

Convert CoNLL to configurations:

  • python preparedata.py [train|dev|test].orig.conll Collect dictionary from configurations:
  • python generate_dictionary.py

Train model:

  • python train.py
  • please refer to the train.py for options!

Parse using:

  • python parse.py -m [model file] -i [input file] -o [output file]

About

Self-implemented arc-standard transition-based dependency parser, based on Danqi's paper

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages