PenProfile 2.x

com.livescribe.icr
Class DetailedResult.CandidateEnumeration

java.lang.Object
  extended by com.livescribe.icr.DetailedResult.CandidateEnumeration
All Implemented Interfaces:
Enumeration
Enclosing class:
DetailedResult

public abstract static class DetailedResult.CandidateEnumeration
extends Object
implements Enumeration

An Enumeration of recognition candidates. Each candidate has an associated recognition score and also another CandidateEnumeration of candidates for the next level of decomposition. Specifically, one text level candidate contains candidates for its word level components and one word level candidate contains candidates for its character level components. Character level candidates, however, do not contain sub-candidates.

See Also:
Enumeration

Constructor Summary
DetailedResult.CandidateEnumeration()
           
 
Method Summary
abstract  float getRecognitionScore()
          Returns the recognition score of the current candidate.
abstract  DetailedResult.CandidateEnumeration getSubLevelCandidates()
          Returns a CandidateEnumeration of candidates for the next level of decomposition.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Enumeration
hasMoreElements, nextElement
 

Constructor Detail

DetailedResult.CandidateEnumeration

public DetailedResult.CandidateEnumeration()
Method Detail

getRecognitionScore

public abstract float getRecognitionScore()
Returns the recognition score of the current candidate.

Returns:
the recognition score of the current candidate.

getSubLevelCandidates

public abstract DetailedResult.CandidateEnumeration getSubLevelCandidates()
Returns a CandidateEnumeration of candidates for the next level of decomposition. Note that the enumeration will be empty for character level candidates.

Returns:
an enumeration of the sub-candidates.

PenProfile 2.x

Copyright © 2010 Livescribe Inc. All Rights Reserved.
Confidential and subject to NDA.