opennlp.tools.coref
Class TreebankLinker
java.lang.Object
opennlp.tools.coref.AbstractLinker
opennlp.tools.coref.DefaultLinker
opennlp.tools.coref.TreebankLinker
- All Implemented Interfaces:
- Linker
public class TreebankLinker
- extends DefaultLinker
This class perform coreference for treebank style parses.
It will only perform coreference over constituents defined in the trees and
will not generate new constituents for pre-nominal entities or sub-entities in
simple coordinated noun phrases.
This linker requires that named-entity information also be provided.
TreebankLinker
public TreebankLinker(String project,
LinkerMode mode)
throws IOException
- Throws:
IOException
TreebankLinker
public TreebankLinker(String project,
LinkerMode mode,
boolean useDiscourseModel)
throws IOException
- Throws:
IOException
TreebankLinker
public TreebankLinker(String project,
LinkerMode mode,
boolean useDiscourseModel,
double fixedNonReferentialProbability)
throws IOException
- Throws:
IOException
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.