Constructor and Description |
---|
WordData() |
Modifier and Type | Method and Description |
---|---|
String |
getError()
Gets the error.
|
List<String> |
getSource()
Gets the array of sources that describes how the word was added to the custom model's words resource.
|
void |
setError(String error)
Sets the error.
|
void |
setSource(List<String> source)
Sets the array of sources that describes how the word was added to the custom model's words resource.
|
getDisplayAs, getSoundsLike, getWord, setDisplayAs, setSoundsLike, setWord
equals, hashCode, toString
public String getError()
public List<String> getSource()
public void setError(String error)
error
- The errorCopyright © 2015–2016 IBM Watson. All rights reserved.