Stanford nlp Stanford Corenlp CRFClassizer对单词序列进行分类
我创建自己的模型文件,如下所示Stanford nlp Stanford Corenlp CRFClassizer对单词序列进行分类,stanford-nlp,Stanford Nlp,我创建自己的模型文件,如下所示 The O Rajasthan Court_name High Court_ame Court Court_name has O ... The O Kolkata Court_name High
The O
Rajasthan Court_name
High Court_ame
Court Court_name
has O
...
The O
Kolkata Court_name
High Court_ame
Court Court_name
has O
...
现在我想使用
classifyToCharacterOffsets(String sentences)
句子如下
Rajasthan High Court.
IN THE HIGH COURT OF JUDICATURE FOR RAJASTHAN AT JAIPUR BENCH JAIPUR.
BY THE COURT.
It does not lie in the domain of this Court to entertain a write petition and adjudicate it on the alleged arbitrariness of the said formulae in the exercise of powers under Article 226 of the Constitution of India.
输出是
Rajasthan High Court Court_name
HIGH COURT Court_name
COURT Court_name
Court Court_name
我只想摘录“拉贾斯坦邦高等法院”作为法院名称。
这个问题的解决办法是什么。
提前谢谢