public class POSSample extends Object
Constructor and Description |
---|
POSSample(List<String> sentence,
List<String> tags) |
POSSample(List<String> sentence,
List<String> tags,
String[][] additionalContext) |
POSSample(String[] sentence,
String[] tags) |
POSSample(String[] sentence,
String[] tags,
String[][] additionalContext) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String[][] |
getAddictionalContext() |
String[] |
getSentence() |
String[] |
getTags() |
int |
hashCode() |
static POSSample |
parse(String sentenceString) |
String |
toString() |
public String[] getSentence()
public String[] getTags()
public String[][] getAddictionalContext()
public static POSSample parse(String sentenceString) throws InvalidFormatException
InvalidFormatException
Copyright © 2017 The Apache Software Foundation. All rights reserved.