Skip to content

timvieira/vocrf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Variable-order CRFs

Install

We assume that you are running the Anaconda Python distribution.

Type the following in your terminal and you should be good to go!

$ make
$ make install
$ make test

To grab some POS tagging data run, e.g., English UD data,

$ make data/UD/English

Here is an example invocation for training a model

$ python vocrf/pos/tagfail.py --tag-type upos --lang English \
    --C .01 --budget 1500 \
    --inner-iterations 1 --outer-iterations 2 \
    --initial-order 0 --max-order 0 --context-count 5 \
    --dump /tmp/foo

(To quickly test the model on some real data, pass in the --quick flag, which will run on a small subset of data.)

Publications

About

Variable-order CRFs with structure learning

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published