|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectopennlp.maxent.BasicContextGenerator
public class BasicContextGenerator
Generate contexts for maxent decisions, assuming that the input given to the getContext() method is a String containing contextual predicates separated by spaces. e.g:
cp_1 cp_2 ... cp_n
| Constructor Summary | |
|---|---|
BasicContextGenerator()
|
|
| Method Summary | |
|---|---|
java.lang.String[] |
getContext(java.lang.Object o)
Builds up the list of contextual predicates given a String. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicContextGenerator()
| Method Detail |
|---|
public java.lang.String[] getContext(java.lang.Object o)
getContext in interface ContextGenerator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||