public final class ExactPhraseMatch extends BooleanMatcherAdapter
MAX_DISTANCE_SCORE, MAX_SCORE, MAX_SEMANTIC_SCORE, NO_MATCH_SCORE| Constructor and Description |
|---|
ExactPhraseMatch(int score)
Construct an instance of an exact phrase matcher that
returns the specified score if there is a match.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
matchBoolean(Mention mention,
MentionChain chain)
Returns
true if the normal phrase of the mention
is equal to the normal phrase of a mention in the mention chain. |
matchpublic ExactPhraseMatch(int score)
score - Score to return if there is a match.public boolean matchBoolean(Mention mention, MentionChain chain)
true if the normal phrase of the mention
is equal to the normal phrase of a mention in the mention chain.matchBoolean in class BooleanMatcherAdaptermention - Mention to match.chain - Mention chain to match.true if the normal phrase of the mention
is equal to the normal phrase of a mention in the mention
chain.Copyright © 2016 Alias-i, Inc.. All rights reserved.