I am going to use Mallet SimpleTagger for sequence tagging. However, I have problem with setting the classpath. As I have seen here: classpath
I must be able to use java -cp to set the classpath. I followed the instructions here (I am sure that I have installed Ant and Mallet correctly). However, I receive this message:
Error: could not find or load main class cc.mallet.fst.SimpleTagger
Here is the real code that I use:
C:\mallet> java -cp "C:\mallet\class:C:\mallet\lib\mallet-deps.jar" cc.mallet.fst.SimpleTagger --model-file G:\test1-model G:\test2-feats.txt
Meanwhile, when I run this command: echo %CLASSPATH%
, it returns %CLASSPATH%.
I would be thankful if anybody can help me.