public class MultiWordSample extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_TYPE |
| Constructor and Description |
|---|
MultiWordSample(String[] sentence,
opennlp.tools.util.Span[] names) |
MultiWordSample(String id,
String[] sentence,
opennlp.tools.util.Span[] multiwords) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getId() |
opennlp.tools.util.Span[] |
getNames() |
String[] |
getSentence() |
int |
hashCode() |
String |
toString() |
public static final String DEFAULT_TYPE
public MultiWordSample(String id, String[] sentence, opennlp.tools.util.Span[] multiwords)
public MultiWordSample(String[] sentence, opennlp.tools.util.Span[] names)
Copyright © 2016 IXA pipes. All rights reserved.