1

I want to use the Clear Parser for extract semantic role label of the input sentence. I downloaded the jar file here but I don't know how to use this jar file.

I search on the web but there isn't good guideline for using it.

Please help me to solve this problem (My project is in eclipse on windows).

SahelSoft
  • 615
  • 2
  • 9
  • 22

1 Answers1

0

Mind that Clearparser is now ClearNLP. For an idea how to use the ClearNLP API, check out the DemoNLPDecoder linked from their project page. In fact, that's a small runnable application to which you pass all the models as command line arguments, along with an input and a output file.

rec
  • 10,340
  • 3
  • 29
  • 43
  • Thanks for your answer. I read the [google link](https://code.google.com/p/clearnlp/wiki/Installation) of ClearNLP and download the jar file. The models that clearNLP use them should be jar file but the [models](https://code.google.com/p/clearnlp/wiki/TrainedModels) are .tgz. how to solve this problem? Thanks – SahelSoft Jul 15 '13 at 10:22
  • Download them. You'll find that they are actually ZIP files (JAR files are ZIP files). Rename them to end in .jar and you are good. I have absolutely no idea why they have the ending ".tgz" on the ClearNLP wiki. – rec Jul 17 '13 at 19:54