MetaPhrase

An open source translation editor for native mobile app localization.

View project on GitHub

//MetaPhrase/com.github.diegoberaldin.metaphrase.domain.spellcheck.repo/SpellCheckRepository

SpellCheckRepository

[jvm]
interface SpellCheckRepository

Contract for the spell check repository.

Functions

Name Summary
addUserDefineWord [jvm]
abstract suspend fun addUserDefineWord(word: String)
Add a user-defined word.
check [jvm]
abstract suspend fun check(message: String): List<SpellCheckCorrection>
Check a message for spelling errors.
setLanguage [jvm]
abstract suspend fun setLanguage(code: String)
Set language for the checks.