RecognitionResult
Stay organized with collections
Save and categorize content based on your preferences.
Object representing the output of an ink recognition.
A recognizer usually provides several recognition alternatives, because the user intent is
not always clear. For example, if the user writes a vertical line and then a circle, the
recognition alternatives could include "10", "IO", and "lo".
Alternatives are named "candidates". This object represents a set of candidates as a list
of RecognitionCandidate
.
Use DigitalInkRecognizer
to perform the recognition itself.
Inherited Method Summary
From class java.lang.Object
Object
|
clone()
|
boolean |
|
void |
finalize()
|
final Class<?>
|
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String
|
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
Public Methods
Returns the list of recognition alternatives.
Candidates are ordered from most likely to least likely. When scores are provided,
they are in increasing order.
The number of candidates depends on the options used when initializing the
recognizer. See
DigitalInkRecognitionModel
and
DigitalInkRecognizerOptions
for details. If nothing can be recognized, this
list will be empty.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-03-30 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-03-30 UTC."],[[["`RecognitionResult` represents the output of an ink recognition process, including multiple possible interpretations (candidates) of the user's input."],["It provides a list of `RecognitionCandidate` objects, each representing a potential interpretation, ranked by likelihood."],["Use `DigitalInkRecognizer` to perform the recognition and obtain a `RecognitionResult` instance."],["The number of candidates returned depends on the model and options used during recognition setup."],["If no recognizable input is provided, the list of candidates will be empty."]]],[]]