% curl -X POST -H 'Content-Type:application/json;charset=UTF-8' -H 'Authorization:Bearer アクセストークン' -d '{"sentence":"望遠鏡で泳ぐ彼女を見た"}' https://api.ce-cotoha.com/api/dev/nlp/v1/parse
{
"result" : [ {
"chunk_info" : {
"id" : 0,
"head" : 1,
"dep" : "D",
"chunk_head" : 0,
"chunk_func" : 1,
"links" : [ ]
},
"tokens" : [ {
"id" : 0,
"form" : "望遠鏡",
"kana" : "ボウエンキョウ",
"lemma" : "望遠鏡",
"pos" : "名詞",
"features" : [ ],
"dependency_labels" : [ {
"token_id" : 1,
"label" : "case"
} ],
"attributes" : { }
}, {
"id" : 1,
"form" : "で",
"kana" : "デ",
"lemma" : "で",
"pos" : "格助詞",
"features" : [ "連用" ],
"attributes" : { }
} ]
}, {
"chunk_info" : {
"id" : 1,
"head" : 2,
"dep" : "D",
"chunk_head" : 0,
"chunk_func" : 1,
"links" : [ {
"link" : 0,
"label" : "condition"
} ]
},
"tokens" : [ {
"id" : 2,
"form" : "泳",
"kana" : "オヨ",
"lemma" : "泳ぐ",
"pos" : "動詞語幹",
"features" : [ "G" ],
"dependency_labels" : [ {
"token_id" : 0,
"label" : "nmod"
}, {
"token_id" : 3,
"label" : "aux"
} ],
"attributes" : { }
}, {
"id" : 3,
"form" : "ぐ",
"kana" : "グ",
"lemma" : "ぐ",
"pos" : "動詞接尾辞",
"features" : [ "連体" ],
"attributes" : { }
} ]
}, {
"chunk_info" : {
"id" : 2,
"head" : 3,
"dep" : "D",
"chunk_head" : 0,
"chunk_func" : 1,
"links" : [ {
"link" : 1,
"label" : "adjectivals"
} ]
},
"tokens" : [ {
"id" : 4,
"form" : "彼女",
"kana" : "カノジョ",
"lemma" : "彼女",
"pos" : "名詞",
"features" : [ "代名詞" ],
"dependency_labels" : [ {
"token_id" : 2,
"label" : "amod"
}, {
"token_id" : 5,
"label" : "case"
} ],
"attributes" : { }
}, {
"id" : 5,
"form" : "を",
"kana" : "ヲ",
"lemma" : "を",
"pos" : "格助詞",
"features" : [ "連用" ],
"attributes" : { }
} ]
}, {
"chunk_info" : {
"id" : 3,
"head" : -1,
"dep" : "O",
"chunk_head" : 0,
"chunk_func" : 1,
"links" : [ {
"link" : 2,
"label" : "object"
} ],
"predicate" : [ "past" ]
},
"tokens" : [ {
"id" : 6,
"form" : "見",
"kana" : "ミ",
"lemma" : "見る",
"pos" : "動詞語幹",
"features" : [ "A" ],
"dependency_labels" : [ {
"token_id" : 4,
"label" : "dobj"
}, {
"token_id" : 7,
"label" : "aux"
} ],
"attributes" : { }
}, {
"id" : 7,
"form" : "た",
"kana" : "タ",
"lemma" : "た",
"pos" : "動詞接尾辞",
"features" : [ "終止" ],
"attributes" : { }
} ]
} ],
"status" : 0,
"message" : ""
}