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.
mcm
corefProject, debug, entities, headFinder, linker, mentionFinder, mode, removeUnresolvedMentions, resolverNames, resolvers, SINGULAR_PRONOUN, useDiscourseModel
COMBINED_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, initResolvers
checkForMerges, constructMentionContexts, getEntities, getHeadFinder, getMentionFinder, resolve, setEntities, train, updateExtent
public TreebankLinker(String project, LinkerMode mode) throws IOException
IOException
public TreebankLinker(String project, LinkerMode mode, boolean useDiscourseModel) throws IOException
IOException
public TreebankLinker(String project, LinkerMode mode, boolean useDiscourseModel, double fixedNonReferentialProbability) throws IOException
IOException
protected void initMentionFinder()
DefaultLinker
initMentionFinder
in class DefaultLinker
Copyright © 2015 The Apache Software Foundation. All rights reserved.