public class Word extends Object
VisualRecognition
Constructor and Description |
---|
Word() |
Modifier and Type | Method and Description |
---|---|
Integer |
getLineNumber()
Gets the line number.
|
Location |
getLocation()
Gets the location.
|
Double |
getScore()
Gets the score.
|
String |
getWord()
Gets the word.
|
void |
setLineNumber(Integer lineNumber)
Sets the line number.
|
void |
setLocation(Location location)
Sets the location.
|
void |
setScore(Double score)
Sets the score.
|
void |
setWord(String word)
Sets the word.
|
public String getWord()
public void setWord(String word)
word
- the new wordpublic Location getLocation()
public void setLocation(Location location)
location
- the new locationpublic Double getScore()
public void setScore(Double score)
score
- the new scorepublic Integer getLineNumber()
public void setLineNumber(Integer lineNumber)
lineNumber
- the new line numberCopyright © 2015–2016 IBM Watson. All rights reserved.