//MetaPhrase/com.github.diegoberaldin.metaphrase.domain.spellcheck.data/SpellCheckCorrection
SpellCheckCorrection
[jvm]
data class SpellCheckCorrection(val indices: IntRange = IntRange.EMPTY, val value: String = "", val suggestions: List<String> = emptyList())
Spelling check correction.
Constructors
SpellCheckCorrection | [jvm] constructor(indices: IntRange = IntRange.EMPTY, value: String = "", suggestions: List<String> = emptyList()) Create SpellCheckCorrection |
Properties
Name | Summary |
---|---|
indices | [jvm] val indices: IntRange range of the error in the source message |
suggestions | [jvm] val suggestions: List<String> spelling suggestions |
value | [jvm] val value: String misspelled word |