How to use ANTLR parse the natural sentence? Exp: John likes mary. In prolog, every thing is simple:
s-->np, vp.
np-->[john].
np-->[mary]
vp-->v, np.
v-->[likes].
I want to use ANTLR to build the program(in Java) that parse some sentence. I just finished add ANTLR into eclipse, but the guide in http://www.antlr.org/wiki is very difficult for my case.