Object

com.twitter.penguin.korean.util

Hangul

Related Doc: package util

Permalink

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.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hangul
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. case class DoubleCoda(first: Char, second: Char) extends Product with Serializable

    Permalink
  2. case class HangulChar(onset: Char, vowel: Char, coda: Char) extends Product with Serializable

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val CODA_MAP: Map[Char, Int]

    Permalink
    Attributes
    protected[com.twitter.penguin.korean]
  5. val DOUBLE_CODAS: Map[Char, DoubleCoda]

    Permalink
    Attributes
    protected[com.twitter.penguin.korean]
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def composeHangul(hc: HangulChar): Char

    Permalink

    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

  9. def composeHangul(onset: Char, vowel: Char, coda: Char = ' '): Char

    Permalink

    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

  10. def decomposeHangul(c: Char): HangulChar

    Permalink

    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)

  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hasCoda(c: Char): Boolean

    Permalink

    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.

  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped