Skip to content

atravkovs/OpenNLPChecker

Repository files navigation

Apache OpenNLP model checker

A simple tool that allows you to check OpenNLP model on your data set.

How to start using it?

  • Clone or download this repository from GitHub.
  • Make sure that you have Java installed java --version, otherwise download it from Java official website
  • In classes/artifacts/opennlp_categorizer__jar folder start Command Prompt and execute java -jar opennlp-categorizer.jar model_path test_file output_file amount, where:
    • model_path - path to trained model
    • test_file - path to file with data to check. Every new text for analysis should be on a new line and each line is represented as follows: mark[Tab]text
    • output_file - path to file where results will be saved. Format for each line is - real_mark[Tab]predicted_mark[Tab]text[Tab]text_length[Tab]amount_parameter
    • amount - number, that is used to separate results (It does not affect sentiment analysis results)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages