struct Candidate
A candidate for autocorrection, next word prediction or swipe typing.
Properties | |
---|---|
CandidateType | type The type of the candidate. |
Float |
score The accuracy of the candidate. |
[Replacement] | replacements An array of the text replacements that the candidate consists of. |
let type: CandidateType
The type of the candidate.
let score: Float
The accuracy of the candidate.
let replacements: [Replacement]
An array of the text replacements that the candidate consists of.