Anaphora resolution using Stanford Coref

后端 未结 1 1389
暖寄归人
暖寄归人 2021-02-04 22:41

I have sentences (Text I):

Tom is a smart boy. He know a lot of thing.

I want to change <

1条回答
  •  滥情空心
    2021-02-04 22:56

    List> coref = document.get(CorefGraphAnnotation.class);
    

    This is an old coref output format.

    You can change this line to

    Map graph = document.get(CorefChainAnnotation.class);
    

    or you can use the oldCorefFormat option:

    props.put("oldCorefFormat", "true");
    

    0 讨论(0)
提交回复
热议问题