Name:
Location: Singapore, Singapore, Singapore

Friday, October 20, 2006

How to use STModified

This post is to record down how to use all the scripts in STModified.
  1. Extract Features
    --featureExtract.pl --mode=[train/test2/test3] --pos --col
  2. Numerate Feature File
    --numericTranslate.pl --file=[input] --mode=[train/test]
  3. NaiveBayesTrain
    --naiveBayesTrain.pl --file=[input] --option=[option]
  4. SenseTopicTrain
    --naiveBayesTrain.pl --file=[input] --option=[option]
    --cSenseTopicTrain.c [input] [option] [numtopics]
  5. SenseTopicModifiedTrain
    --naiveBayesTrain.pl --file=[input] --option=[option]
    --cSTMTrain.c [input][option][numtopics][nbweight]
  6. NaiveBayesTest
    --naiveBayesTest.pl --file=[input] --mode=[ct/t] --option=[option]
  7. SenseTopicTest
    --senseTopicTest.pl --file=[input] --mode=[ct/t] --option=[option]
  8. SenseTopicModifiedTest
    --senseTopicTestM.pl --file=[input] --mode=[ct/t] --option=[option]

0 Comments:

Post a Comment

<< Home