Code examples in c++ to get the demo web page results

Submitted by rayo1960 on Fri, 10/05/2018 - 15:55
Forums

Hi, I'm a newbie in freeling and in c++.
I want to understand how the NLP is been doing.
I looking for some simple examples that call Freeling to generate the output of the shallow and full parsing output of the demo web page.

1 esperé esperar VMIS1S0 VMI pos=verb|type=main|mood=indicative|tense=past|person=1|num=singular - - (grup-verb:1(verb:1) - - - -
2 a a SP SP pos=adposition|type=preposition - - (grup-sp:2 - - - -
3 que que CS CS pos=conjunction|type=subordinating - - (subord:3 - - - -
4 volvieras volver VMSI2S0 VMS pos=verb|type=main|mood=subjunctive|tense=imperfect|person=2|num=singular - - (grup-verb:4(verb:4)))) - - - -
5 . . Fp Fp pos=punctuation|type=period - - (F-term:5)) - - - -

I am interested in the right side, the json style output.
I will appreciate your response
thanks.