Skip to content

API call

Harshita edited this page Apr 7, 2017 · 2 revisions

Get Parse of a Sentence

Post : https://csci544-funlab.rhcloud.com/getParse

 {
    "data":"नदी के दाहिने किनारे पर 8 पेड़ हैं।"
 }

RESPONSE

[
    {
     "_id":"58e730095da084067a000000",
     "parseId":"b0491a0798a1ced46fb407cecbebd0a8",
     "parseText":"<Sentence id=\"1\">\n1\t((\tNP\t<fs   af='naxI,n,f,sg,3,d,0_kA,0' head=\"naxI\" vpos=\"vib1_2\" name=\"NP\" drel=\"r6:NP2\">\n1.1\tnaxI\tNN\t<fs af='naxI,n,f,sg,3,d,0,0' name=\"naxI\">\n\t))\n2\t((\tNP\t<fs af='kinArA,n,m,pl,3,d,0_para,0' head=\"kinAre\" vpos=\"vib2_3\" name=\"NP2\" drel=\"k7p:VGF\">\n2.1\txAhine\tJJ\t<fs af='xAhinA,adj,m,sg,,o,,' name=\"xAhine\">\n2.2\tkinAre\tNN\t<fs af='kinArA,n,m,pl,3,d,0,0' name=\"kinAre\">\n\t))\n3\t((\tNP\t<fs af='pedZa,n,m,sg,3,d,0,0' head=\"pedZa\" name=\"NP3\" drel=\"k1:VGF\">\n3.1\t8\tQC\t<fs af='8,num,,,,,,' name=\"8\">\n3.2\tpedZa\tNN\t<fs af='pedZa,n,m,sg,3,d,0,0' name=\"pedZa\">\n\t))\n4\t((\tVGF\t<fs af='hE,v,any,pl,1,,hE,hE' head=\"hEM\" name=\"VGF\">\n4.1\thEM\tVM\t<fs af='hE,v,any,pl,1,,hE,hE' name=\"hEM\">\n4.2\t.\tSYM\t<fs af='.,punc,,,,,,' name=\".\">\n\t))\n</Sentence>\n\n"
     }
 ]
Clone this wiki locally