词性标注

访问接口:http://183.174.228.47:8282/RUCNLP/pos

访问示例:http://183.174.228.47:8282/RUCNLP/pos?doc=刘强东今天来京东了

查看返回示例

访问参数:doc:String(待词性标注文档)

resultType:String(返回文档类型,可选"string"、"term",默认"string")

返回参数:词性标注结果:List<String>(List<Term>)

返回示例(string):["刘强东/nz","今天/t","来/v","京东/nz","了/ul"]

返回示例(term):[{"word":"刘强","nature":"nr","offset":0},

{"word":"东","nature":"f","offset":0},

{"word":"今天","nature":"t","offset":0},

{"word":"来","nature":"v","offset":0},

{"word":"京东","nature":"ns","offset":0},

{"word":"了","nature":"ul","offset":0}]

词性符号对应表下载