//MetaPhrase/com.github.diegoberaldin.metaphrase.domain.spellcheck.usecase/ValidateSpellingUseCase
ValidateSpellingUseCase
interface ValidateSpellingUseCase
Contract of the validate spelling use case.
Inheritors
DefaultValidateSpellingUseCase |
Types
Name | Summary |
---|---|
InputItem | [jvm] data class InputItem(val key: String, val message: String) Input parameter object. |
Functions
Name | Summary |
---|---|
invoke | [jvm] abstract suspend operator fun invoke(input: List<ValidateSpellingUseCase.InputItem>, lang: String): Map<String, List<String>> Check for spelling errors a given messaeg. |