I have project, to create application, that should do following:
- Application should take word or sentence as an input.
- It should analyse the word/sentence grammatically and should give grammatical information about it and its content.
- Based on this information my program should be able to recreate relations between members of the sentence.
- Program should also have editor, which will allow to write down "rules". This rules will be applied to the relations schema of the sentence to "answer simple questions".
For example: If input of my application is: "Tom has a green apple". And the question is of type: "What color is Tom's apple?", the program should give as an output "green".
As my goal is to analyse only simple sentences and limited number of words, the library should also allow scalability for the future development and refinement of my program.
Which library would you recommend? I tried to search on the internet, but still no shure what to use.