
com.github.vickumar1981.stringdistance.interfaces.sound.CommonSoundAlgo.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of stringdistance_2.12 Show documentation
Show all versions of stringdistance_2.12 Show documentation
A fuzzy matching string distance library for Scala and Java.
The newest version!
package com.github.vickumar1981.stringdistance.interfaces.sound
private[stringdistance] object CommonSoundAlgo {
final val alphabet: Set[Char] = ('a' to 'z').toSet ++ ('A' to 'Z').toSet
final val lowercaseVowel: Set[Char] = Set('a', 'e', 'i', 'o', 'u')
def isAlpha(ch: Char): Boolean = alphabet.contains(ch)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy