Package de.swa.mmfg.extension.esmmfg
Class Phrase
java.lang.Object
de.swa.mmfg.extension.esmmfg.Phrase
public class Phrase
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Phrase.type
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description void
addPhrase(Phrase p)
static Phrase
getPhraseForRelationship(int val)
java.lang.String
getPhraseText()
java.util.Vector<Phrase>
getSubPhrases()
int
getType()
java.util.Vector<Word>
getWords()
-
Field Details
-
ROOT
public static final int ROOT- See Also:
- Constant Field Values
-
SENTENCE
public static final int SENTENCE- See Also:
- Constant Field Values
-
NP
public static final int NP- See Also:
- Constant Field Values
-
VP
public static final int VP- See Also:
- Constant Field Values
-
N
public static final int N- See Also:
- Constant Field Values
-
V
public static final int V- See Also:
- Constant Field Values
-
DET
public static final int DET- See Also:
- Constant Field Values
-
PP
public static final int PP- See Also:
- Constant Field Values
-
PR
public static final int PR- See Also:
- Constant Field Values
-
-
Constructor Details
-
Method Details
-
getWords
-
getPhraseText
public java.lang.String getPhraseText() -
getType
public int getType() -
getSubPhrases
-
addPhrase
-
getPhraseForRelationship
-