object Hangul
Hangul analysis helper. One Hangul character can be decomposed to consonants and a vowel. This object helps analyze Korean character by consonant and vowel level.
- Alphabetic
- By Inheritance
- Hangul
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- case class DoubleCoda (first: Char, second: Char) extends Product with Serializable
- case class HangulChar (onset: Char, vowel: Char, coda: Char) extends Product with Serializable
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
CODA_MAP: Map[Char, Int]
- Attributes
- protected[org.openkoreantext.processor]
-
val
DOUBLE_CODAS: Map[Char, DoubleCoda]
- Attributes
- protected[org.openkoreantext.processor]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
composeHangul(hc: HangulChar): Char
Compose a Korean character from the provided onset(초성), vowel(중성), and coda(종성).
Compose a Korean character from the provided onset(초성), vowel(중성), and coda(종성).
- hc
HangulChar(onset, vowel, coda)
- returns
A Korean character
-
def
composeHangul(onset: Char, vowel: Char, coda: Char = ' '): Char
Compose a Korean character from the provided onset(초성), vowel(중성), and coda(종성).
Compose a Korean character from the provided onset(초성), vowel(중성), and coda(종성).
- onset
초성
- vowel
중성
- coda
종성
- returns
A Korean character
-
def
decomposeHangul(c: Char): HangulChar
Decompose a Korean character to onset(초성), vowel(중성), and coda(종성).
Decompose a Korean character to onset(초성), vowel(중성), and coda(종성).
- c
A Korean character
- returns
(onset: Char, vowel: Char, coda: Char)
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hasCoda(c: Char): Boolean
Check if a Korean character has a coda.
Check if a Korean character has a coda.
- c
A Korean character
- returns
true if the character has a coda.
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )