|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TokenPredicate
A Categorisation of knowledge that attaches itself
as meta-data to words and groups of words (clauses) within a query.
Requirement that TokenPredicate, of any implementation, have a unique name.
Implementation of org.apache.commons.collections.Predicate for the terms in the Query.
Predicates use TokenEvaluators to prove the Predicate's validity to the Query.
| Field Summary | |
|---|---|
static String |
EXACT_PREFIX
Exact (^.*$) TokenPredicates are expected to have the following prefix to their names. |
| Method Summary | |
|---|---|
boolean |
evaluate(Object evalFactory)
Evaluates to true if fastListName occurs in the query. |
TokenPredicate |
exactPeer()
A token predicate that requires an exact match against the whole query. |
String |
name()
The name of the TokenPredicate. |
| Field Detail |
|---|
static final String EXACT_PREFIX
| Method Detail |
|---|
String name()
boolean evaluate(Object evalFactory)
evaluate in interface org.apache.commons.collections.PredicateevalFactory - The TTokenEvaluationEngineused to get a TokenEvaluator for
this fastListName, AND to get the current term in the query being tokenised.
TokenPredicate exactPeer()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||