so I’m using Mallet to create a simple tagger app. I know how to use it in command prompt and already made classifier model. So now how can i call that model in a code so i can make an interface out of it. Because the I can only load the model using just the command prompt. I tried to look in the Mallet page but its not in there. Anyone know how? I really need this guys so please help me. TIA.
TRAING AND CREATING THE MODEL
java -cp "C:Malletclass;C:Malletlibmallet-deps.jar" cc.mallet.fst.SimpleTagger --train true --model-file stopwords_tagger.txt output_1.txt
EXECUTING THE MODEL
java -cp "C:Malletclass;C:Malletlibmallet-deps.jar" cc.mallet.fst.SimpleTagger --include-input true --model-file stopwords_tagger.txt data_2.txt