HIT-SCIR / ltp

Language Technology Platform
http://ltp.ai
4.98k stars 1.04k forks source link

NER輸出中Token Index的資訊 #674

Closed chaochun closed 1 year ago

chaochun commented 1 year ago

請問如何可以取得NER輸出中在原Token Sequence中的所對應的Token Index?

AlongWY commented 1 year ago

可以试试 raw_format=True

chaochun commented 1 year ago

上述提供的方法, 已可取得相關資訊. Thanks.