public class FeatureSample extends Object
| Constructor and Description |
|---|
FeatureSample(List<String> sentence,
List<String> lemma,
List<String> tags,
List<String> feats)
Initializes the current instance.
|
FeatureSample(String[] sentence,
String[] lemma,
String[] tags,
String[] feats)
Initializes the current instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String[] |
getFeatures()
Gets the feature tags
|
String[] |
getLemmas()
Gets the training sentence
|
String[] |
getSentence()
Gets the training sentence
|
String[] |
getTags()
Gets the POS Tags for the sentence
|
int |
hashCode() |
String |
toString() |
public FeatureSample(String[] sentence, String[] lemma, String[] tags, String[] feats)
sentence - training sentencetags - POS Tags for the sentencefeats - Feature tagsCopyright © 2012–2017 CoGrOO. All rights reserved.