Multi-term named entities in Stanford Named Entity Recognizer

前端 未结 8 1445
春和景丽
春和景丽 2021-01-31 19:33

I\'m using the Stanford Named Entity Recognizer http://nlp.stanford.edu/software/CRF-NER.shtml and it\'s working fine. This is

    List&         


        
8条回答
  •  無奈伤痛
    2021-01-31 20:17

    Code for the above:

     result = classifier.classifyToCharacterOffsets(text);
    
    for (Triple triple : result)
    {
        System.out.println(triple.first + " : " + text.substring(triple.second, triple.third));
    }
    

提交回复
热议问题