Skip to content

TW-QT/sentimental-analyzer

Repository files navigation

Introduction

Process documents to prepare train/test data for 'libsvm' tool. We are using CHI to select terms as the feature vector, and then using TF-IDF to compute weight values.

How To

Compute data for libsvm tool, include 2 phases: train and test.

  • For train

    Program entrance class: org.me.document.processor.TrainDocumentProcessorDriver

    Configuration file : config-train.properties

  • For test

    Program entrance class: org.me.document.processor.TestDocumentProcessorDriver

    Configuration file : config-test.properties

FAQ

  • If you choose ICTCLAS Chinese analyzer, be sure to copy file 'NLPIR_JNI.dll' to directory 'C:\Windows\System32' in Win7 operating system(default Win7 64bit, more about ICTCLAS, please hit http://ictclas.nlpir.org/downloads).

Contact

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published