|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectopennlp.tools.postag.POSSample
public class POSSample
Represents an pos-tagged sentence.
| Constructor Summary | |
|---|---|
POSSample(List<String> sentence,
List<String> tags)
|
|
POSSample(String[] sentence,
String[] tags)
|
|
| Method Summary | |
|---|---|
String[] |
getSentence()
|
String[] |
getTags()
|
static POSSample |
parse(String sentenceString)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public POSSample(String[] sentence,
String[] tags)
public POSSample(List<String> sentence,
List<String> tags)
| Method Detail |
|---|
public String[] getSentence()
public String[] getTags()
public String toString()
toString in class Object
public static POSSample parse(String sentenceString)
throws InvalidFormatException
InvalidFormatException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||