Uses of Class
com.yahoo.prelude.querytransform.PhraseMatcher.Phrase
Package
Description
-
Uses of PhraseMatcher.Phrase in com.yahoo.prelude.querytransform
Modifier and TypeMethodDescriptionPhraseMatcher.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 -
Uses of PhraseMatcher.Phrase in com.yahoo.prelude.semantics
Modifier and TypeMethodDescriptionprotected void
RuleBase.annotatePhrase
(PhraseMatcher.Phrase phrase, Query query, int traceLevel) -
Uses of PhraseMatcher.Phrase in com.yahoo.search.query.rewrite
Modifier and TypeMethodDescriptionstatic 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 dictionarystatic 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 dictionarystatic 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 dictionaryModifier and TypeMethodDescriptionstatic String
RewriterFeatures.convertMatchToString
(PhraseMatcher.Phrase phrase) Convert Match to StringModifier and TypeMethodDescriptionstatic Query
RewriterFeatures.addExpansions
(Query query, Set<PhraseMatcher.Phrase> matches, String expandIndex, int maxNumRewrites, boolean removeOriginal, boolean addUnitToRewrites) Add Expansions to the matching phrasesstatic 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