문제

Actually, I am trying to write my own program using java in order to POS tagging a set of text files. I have make a search on the available NLP tools and I found that GATE is one of the most good NLP tools for text processing. I want to download it first then I dont want to use the GUI. I am looking to use it in my own java program.

So

  1. how I can connect between GATE and Netbeans?
  2. How I can use Part of speech recognition in my code?

I am newly in NLP and GATE. I just get start before few hours. but I am PhD student in text mining area and I want to deal with some of NLP tools because I need them in my study. I hope you can help me in finding any tutorial about how to integrate between GATE and java in order to use the libraries and how we can use them.

Thank you for your time and considerations

도움이 되었습니까?

해결책

The best tutorial material is the handouts from the regular training course, which are available at http://gate.ac.uk/wiki (look for the latest "training course participants' wiki"). In particular module 5 talks about calling the GATE APIs from Java code.

I dont want to use the GUI. I am looking to use it in my own java program.

Even if you don't want to use the GUI in your production system we always recommend that you get your pipeline set up and tested in the GUI to start with. When you're happy it does what you want then you use "save application state" or "export for GATECloud.net" to save the application and then your code can just use PersistenceManager.loadObjectFromFile to load the fully-configured pipeline without having to first load the correct plugins and then assemble the pipeline components by hand.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top