swabhs / nlplab

Repository for NLP lab - Spring 2014

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

# Install TurboParser 
tar -zxvf TurboParser-2.1.0.tar.gz
cd TurboParser-2.1.0

./install_deps.sh
./configure && make && make install

mkdir models/

export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:`pwd;`/deps/local/lib:"

# Training. Use all features(coarse pos, lemma and brown clusters)
./TurboParser --train --file_train=../train.conll --file_model=models/hindi.model --model_type=full --logtostderr

# Test. Use all features(coarse pos, lemma and brown clusters)
./TurboParser --test --evaluate --file_model=models/hindi.model --file_test=../test.conll --file_prediction=hindi.predicted --logtostderr

About

Repository for NLP lab - Spring 2014