public class POSSample extends Object implements Serializable
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 © 2021 The Apache Software Foundation. All rights reserved.