|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjvntextpro.data.ContextGenerator
jvnpostag.POSContextGenerator
public class POSContextGenerator
| Constructor Summary | |
|---|---|
POSContextGenerator(java.lang.String featureTemplateFile)
|
|
| Method Summary | |
|---|---|
java.lang.String[] |
getContext(Sentence sent,
int pos)
Gets the context. |
boolean |
readDict()
|
boolean |
readFeatureTemplate(java.lang.String file)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public POSContextGenerator(java.lang.String featureTemplateFile)
| Method Detail |
|---|
public java.lang.String[] getContext(Sentence sent,
int pos)
ContextGenerator
getContext in class ContextGeneratorsent - the sentpos - the pos
public boolean readDict()
public boolean readFeatureTemplate(java.lang.String file)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||