public class Word
extends java.lang.Object
VisualRecognition
Constructor and Description |
---|
Word() |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getLineNumber()
Gets the line number.
|
Location |
getLocation()
Gets the location.
|
java.lang.Double |
getScore()
Gets the score.
|
java.lang.String |
getWord()
Gets the word.
|
void |
setLineNumber(java.lang.Integer lineNumber)
Sets the line number.
|
void |
setLocation(Location location)
Sets the location.
|
void |
setScore(java.lang.Double score)
Sets the score.
|
void |
setWord(java.lang.String word)
Sets the word.
|
public java.lang.Integer getLineNumber()
public Location getLocation()
public java.lang.Double getScore()
public java.lang.String getWord()
public void setLineNumber(java.lang.Integer lineNumber)
lineNumber
- the new line numberpublic void setLocation(Location location)
location
- the new locationpublic void setScore(java.lang.Double score)
score
- the new scorepublic void setWord(java.lang.String word)
word
- the new word