μ΄μ± κ²μμ μ§μνλ νκ΅μ΄ λ¬Έμμ΄ λΉκ΅ λΌμ΄λΈλ¬λ¦¬μ λλ€. A Korean string comparison library that supports Korean initial sound search.
settings.gradle
μmaven { url "https://jitpack.io" }
μΆκ°dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { google() mavenCentral() maven { url "https://jitpack.io" } // <- μΆκ° } }
- μ¬μ©νκ³ μ νλ λͺ¨λμ
'com.github.WonJoongLee:kodi:0.2.1'
μμ‘΄μ± μΆκ°dependencies { implementation 'com.github.WonJoongLee:kodi:0.2.1' // <- μΆκ° }
val stringList = listOf("μ΄μ² μ", "κΉμν¬", "μ΄μμ€", "νκΈΈλ", "ν©κ΄
λ³")
val userInput = "γ
γ±γ·"
Kodi.insertList(stringList)
val result = Kodi.getMatchStrings(userInput)
// result = ["νκΈΈλ", "ν©κ΄
λ³"]
γ
γ±γ·
λΏλ§ μλλΌ νγ±γ·
, γ
κΈΈγ·
λ± μ΄μ±μ΄ μ€κ°μ μμ¬ μμ΄λ κ²μμ΄ κ°λ₯ν©λλ€.
νΉμ λ¬Έμ λ₯Ό λ°κ²¬νμλ©΄ κ°μΈμ μΌλ‘ μ°λ½μ μ£Όμ
λ λκ³ , μ΄μλ‘ λ¨κ²¨μ£Όμ
λ λ©λλ€.
κ°μ¬ν©λλ€.
email : realjoong@gmail.com