crownpku / Information-Extraction-Chinese

Chinese Named Entity Recognition with IDCNN/biLSTM+CRF, and Relation Extraction with biGRU+2ATT 中文实体识别与关系提取
2.22k stars 813 forks source link

关于运行结果不一致的问题 #127

Open lixiaoA opened 3 years ago

lixiaoA commented 3 years ago

您好,请问为什么我运行出来的结果和效果图里的不一样呢?他是这个样子的:

请输入测试句子:>?香港的房价已经到达历史巅峰 {'string':'香港的房价已经到达历史巅峰','entities':[{'word':'的','start':1,'end':3,'type ':'LOC'},{'word':'房','start':1,'end':4,'type':'ORG'},{'word':'价','start': 4,'end':5,'type':'PER'},{'word':'已经','start':1,'end':7,'type':'LOC'},{'word ':'到','开始':1,'结束':8,'类型':'ORG'},{'word':'达','开始':8,'结束':9,'类型':'PER'},{'word':'历程','start':9,'end':10,'type':'ORG'},{'word': '史巅', 'start': 1, 'end': 12, 'type': 'PER'}, {'word': '峰', 'start': 1, 'end': 13, 'type': 'ORG'}]}

我刚开始接触这一方面,还有很多不足,希望您能解答,谢谢!

XXXXXXR commented 3 years ago

请问你的这个问题解决了吗?我也是这个问题