yaspeller-kt

Asynchronous Yandex.Speller API wrapper for Kotlin/JVM.

Installation

repositories {
    maven { 
        url 'https://jitpack.io' 
    }
}

implementation 'com.github.d1snin:yaspeller-kt:0.1.1-beta.0'

Example usage

suspend fun main() {
    val word = "hawdwawe"
    val suggestion = "hawdwawe".spellingSuggestion() // first spelling suggestions for the first word
    println(suggestion) // hardware
}

GitHub

View Github