词典匹配

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

访问示例:http://183.174.228.47:8282/RUCNLP/dictmatch?doc=我昨天买了一个被子,一个被单,一个手机。

查看返回示例

访问参数:doc:String(待词典匹配文档)

返回参数:关键词结果:List<DictMatchClass>

返回示例:[{"category":"被子","word":"被子","count":1},{"category":"被子","word":"被单","count":1},{"category":"手机","word":"手机","weight":1}]

词典格式:类目+\t+类目关键词