Class CharacterRecognition<T>
Represents a single recognized character with its confidence.
public class CharacterRecognition<T>
Type Parameters
TThe numeric type used for calculations.
- Inheritance
-
CharacterRecognition<T>
- Inherited Members
Properties
Alternatives
Gets alternative characters with their probabilities.
public IReadOnlyList<(char Character, double Probability)> Alternatives { get; init; }
Property Value
Character
Gets the recognized character.
public char Character { get; init; }
Property Value
Confidence
Gets the confidence score for this character.
public T Confidence { get; init; }
Property Value
- T
ConfidenceValue
Gets the confidence as a double value.
public double ConfidenceValue { get; init; }
Property Value
Position
Gets the position in the sequence (0-based index).
public int Position { get; init; }