@Deprecated public class TreebankLinker extends DefaultLinker
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)
Deprecated.
|
TreebankLinker(String project,
LinkerMode mode,
boolean useDiscourseModel)
Deprecated.
|
TreebankLinker(String project,
LinkerMode mode,
boolean useDiscourseModel,
double fixedNonReferentialProbability)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
initMentionFinder()
Deprecated.
Initializes the mention finder for this linker.
|
static void |
main(String[] args)
Deprecated.
Identitifies corefernce relationships for parsed input passed via standard in.
|
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
public static void main(String[] args) throws IOException
args
- The model directory.IOException
- when the model directory can not be read.Copyright © 2016 The Apache Software Foundation. All rights reserved.