Another thing you could do is copying the samples folder inside your build folder (So it becomes the iitb folder's sibling), and then issuing the command from inside the build folder:
Code:
java iitb.Segment.Segment train -f samples/us50.conf
I have the following output:
amira@amira-VirtualBox:~/CRF/build$ java iitb.Segment.Segment train -f samples/us50.conf
Exception in thread "main" java.lang.NoClassDefFoundError: gnu/trove/set/hash/TIntHashSet
at iitb.Model.FeatureGenImpl.<init>(FeatureGenImpl.java:68)
at iitb.Model.FeatureGenImpl.<init>(FeatureGenImpl.java:213)
at iitb.Model.FeatureGenImpl.<init>(FeatureGenImpl.java:210)
at iitb.Segment.Segment.allocModel(Segment.java:161)
at iitb.Segment.Segment.train(Segment.java:256)
at iitb.Segment.Segment.main(Segment.java:65)
Caused by: java.lang.ClassNotFoundException: gnu.trove.set.hash.TIntHashSet
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
... 6 more