cadancai / nlp

NLP Homework (Spring 2013)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Homework 1

In the root directory, start up Simple Build Tool:

sbt

Then to run on the WSJ corpus, for example, you'll need to get the WSJ corpus, and then run (within the SBT console):

run-main nlp.cb.NgramEvaluator ../data/penn-treebank3/tagged/pos/brown/ 0.1

Homework 2

You're gonna need to install the SBT start-script plugin real quick, first:

https://github.com/sbt/sbt-start-script

Serverside hook

In my ~/git/nlp.git/hooks/post-receive on the server (where I can run job scripts):

#!/bin/sh
cd /u/chbrown/nlp
env -i git pull # get rid of GITDIR setting
./sbt stage

Misc

Unused java / scala command line option: -XX:+CMSClassUnloadingEnabled

About

NLP Homework (Spring 2013)


Languages

Language:Java 96.7%Language:Lex 1.3%Language:HTML 0.8%Language:TeX 0.7%Language:Scala 0.3%Language:Python 0.2%Language:R 0.0%Language:Shell 0.0%