|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jvntextpro.data.ContextGenerator jvnsegmenter.BasicContextGenerator jvnsegmenter.RegexContextGenerator
public class RegexContextGenerator
The Class RegexContextGenerator.
Constructor Summary | |
---|---|
RegexContextGenerator(org.w3c.dom.Element node)
Instantiates a new regex context generator. |
Method Summary | |
---|---|
java.lang.String[] |
getContext(Sentence sent,
int pos)
Gets the context. |
Methods inherited from class jvnsegmenter.BasicContextGenerator |
---|
readFeatureNodes |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RegexContextGenerator(org.w3c.dom.Element node)
node
- the nodeMethod Detail |
---|
public java.lang.String[] getContext(Sentence sent, int pos)
ContextGenerator
getContext
in class ContextGenerator
sent
- the sentpos
- the pos
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |