Package | Description |
---|---|
com.yahoo.prelude.querytransform | |
com.yahoo.prelude.semantics | |
com.yahoo.search.query.rewrite |
Modifier and Type | Method and Description |
---|---|
List<PhraseMatcher.Phrase> |
PhraseMatcher.matchPhrases(Item queryItem)
Finds all phrases (word sequences of length 1 or higher)
of the same index, not negative items of a notitem,
which constitutes a complete entry in the automaton of this matcher
|
Constructor and Description |
---|
MatchIterator(PhraseMatcher.Phrase phrase) |
Modifier and Type | Method and Description |
---|---|
protected void |
RuleBase.annotatePhrase(PhraseMatcher.Phrase phrase,
Query query,
int traceLevel) |
Modifier and Type | Method and Description |
---|---|
static Set<PhraseMatcher.Phrase> |
RewriterFeatures.getNonOverlappingFullPhraseMatches(PhraseMatcher phraseMatcher,
Query query)
Retrieve the longest, from left to right non overlapping full
phrase substrings in query based on FSA dictionary
|
static List<PhraseMatcher.Phrase> |
RewriterFeatures.getNonOverlappingMatchesInAndItem(List<PhraseMatcher.Phrase> allMatches,
Query query)
Retrieve the longest, from left to right non overlapping substrings in
AndItem based on FSA dictionary
|
static Set<PhraseMatcher.Phrase> |
RewriterFeatures.getNonOverlappingPartialPhraseMatches(PhraseMatcher phraseMatcher,
Query query)
Retrieve the longest, from left to right non overlapping partial
phrase substrings in query based on FSA dictionary
|
Modifier and Type | Method and Description |
---|---|
static String |
RewriterFeatures.convertMatchToString(PhraseMatcher.Phrase phrase)
Convert Match to String
|
Modifier and Type | Method and Description |
---|---|
static Query |
RewriterFeatures.addExpansions(Query query,
Set<PhraseMatcher.Phrase> matches,
String expandIndex,
int maxNumRewrites,
boolean removeOriginal,
boolean addUnitToRewrites)
Add Expansions to the matching phrases
|
static List<PhraseMatcher.Phrase> |
RewriterFeatures.getNonOverlappingMatchesInAndItem(List<PhraseMatcher.Phrase> allMatches,
Query query)
Retrieve the longest, from left to right non overlapping substrings in
AndItem based on FSA dictionary
|
Copyright © 2018. All rights reserved.