Interface ContextGenerator<T>
- All Known Implementing Classes:
BasicContextGenerator
public interface ContextGenerator<T>
Represents a generator of contexts for maxent decisions.
-
Method Summary
Modifier and TypeMethodDescriptionString[]getContext(T o) Builds up the list of contextual predicates given anobject.
-
Method Details
-
getContext
Builds up the list of contextual predicates given anobject.- Parameters:
o- Theobjectused as input.- Returns:
- The contextual predicates of
o, in order. - Throws:
IllegalArgumentException- Thrown ifoisnull.
-