Building Stanford POS Tagger from source package

I downloaded Stanford POS tagger from, which contains source code and binary. However, I cannot rebuild this pos tagger from source. I took 3-4 hours to fix it thus I post the patch as follow:

diff -Naur edu.orig/stanford/nlp/stats/ edu/stanford/nlp/stats/
--- edu.orig/stanford/nlp/stats/	2006-05-18 06:55:16.000000000 +0000
+++ edu/stanford/nlp/stats/	2007-11-27 12:04:16.000000000 +0000
@@ -1,6 +1,6 @@
 package edu.stanford.nlp.stats;
-import edu.stanford.nlp.ling.IndexedFeatureLabel;
+//import edu.stanford.nlp.ling.IndexedFeatureLabel;
 import edu.stanford.nlp.util.*;
 import edu.stanford.nlp.util.PriorityQueue;
diff -Naur edu.orig/stanford/nlp/tagger/maxent/ edu/stanford/nlp/tagger/maxent/
--- edu.orig/stanford/nlp/tagger/maxent/	2006-05-08 02:24:12.000000000 +0000
+++ edu/stanford/nlp/tagger/maxent/	2007-11-27 12:04:11.000000000 +0000
@@ -18,7 +18,7 @@
 import edu.stanford.nlp.sequences.SequenceModel;
 import edu.stanford.nlp.sequences.BestSequenceFinder;
 import edu.stanford.nlp.sequences.ExactBestSequenceFinder;
-import edu.stanford.nlp.sequences.BeamBestSequenceFinder;
+//import edu.stanford.nlp.sequences.BeamBestSequenceFinder;
 import;   However, I still use Acopost and in-house POS tagger based on CRF++.


Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / เปลี่ยนแปลง )

Twitter picture

You are commenting using your Twitter account. Log Out / เปลี่ยนแปลง )

Facebook photo

You are commenting using your Facebook account. Log Out / เปลี่ยนแปลง )

Google+ photo

You are commenting using your Google+ account. Log Out / เปลี่ยนแปลง )

Connecting to %s