VirtoolsTranslation/NlpParser
2024-12-13 15:47:05 +08:00
..
assets [refactor] do some works 2024-12-08 23:33:57 +08:00
.gitignore [refactor] do some works 2024-12-08 23:33:57 +08:00
JsonConverter.java refactor: update NlpParser project 2024-12-13 15:47:05 +08:00
MainRunner.java refactor: update NlpParser project 2024-12-13 15:47:05 +08:00
Nlp.g4 fix parser error 2023-06-30 17:19:08 +08:00
README.md [refactor] do some works 2024-12-08 23:33:57 +08:00
StringHelper.java refactor: update NlpParser project 2024-12-13 15:47:05 +08:00

Nlp Parser

Requirements:

  • Antlr4
  • Gson

Useful commands:

  • antlr4 Nlp.g4: Analyze Antlr format file.
  • javac *.java: Compile executable application.
  • Do testbench
    • grun Nlp document -tree < testbench.txt
    • grun Nlp document -gui < testbench.txt
    • java MainRunner testbench.txt out/result.json