public class TreebankLinker extends DefaultLinker
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.
mcmcorefProject, debug, entities, headFinder, linker, mentionFinder, mode, removeUnresolvedMentions, resolverNames, resolvers, SINGULAR_PRONOUN, useDiscourseModelCOMBINED_NPS, DESCRIPTOR, ISA, NP, PRONOUN_MODIFIER, PROPER_NOUN_MODIFIER| Constructor and Description |
|---|
TreebankLinker(String project,
LinkerMode mode) |
TreebankLinker(String project,
LinkerMode mode,
boolean useDiscourseModel) |
TreebankLinker(String project,
LinkerMode mode,
boolean useDiscourseModel,
double fixedNonReferentialProbability) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
initMentionFinder()
Initializes the mention finder for this linker.
|
computeGender, computeNumber, initHeadFinder, initResolverscheckForMerges, constructMentionContexts, getEntities, getHeadFinder, getMentionFinder, resolve, setEntities, train, updateExtentpublic TreebankLinker(String project, LinkerMode mode) throws IOException
IOExceptionpublic TreebankLinker(String project, LinkerMode mode, boolean useDiscourseModel) throws IOException
IOExceptionpublic TreebankLinker(String project, LinkerMode mode, boolean useDiscourseModel, double fixedNonReferentialProbability) throws IOException
IOExceptionprotected void initMentionFinder()
DefaultLinkerinitMentionFinder in class DefaultLinkerCopyright © 2019 The Apache Software Foundation. All rights reserved.