Packages

  • package root
    Definition Classes
    root
  • package edu
    Definition Classes
    root
  • package holycross
    Definition Classes
    edu
  • package shot
    Definition Classes
    holycross
  • package greek

    Package for representing text in Ancient Greek, since the fundamental assumption of Unicode that code points belong to a single language is wrong, as is the definition in the ISO 639 standards of a single "Greek" dialect for all Greek "to 1453".

    Package for representing text in Ancient Greek, since the fundamental assumption of Unicode that code points belong to a single language is wrong, as is the definition in the ISO 639 standards of a single "Greek" dialect for all Greek "to 1453".

    Overview

    Classes implementing the GreekString trait define an encoding system for writing some form of ancient Greek with an ordered set of characters drawn from the ASCII character set whenever possible. The CodePointTranscoder object provides a mapping of ASCII character sequences to glyphs taken primarily from the so-called "Greek and Coptic" and "Extended Greek" blocks of Unicode. Using the concrete implementation of the GreekString trait's asciiCompare function, any class extending the GreekString trait can trivially extend Scala's Ordered trait as well.

    JVM vs. Javascript implementation

    The JVM implementation normalizes all Unicode to Form NFC, using standard Java classes. No comparable library exists for Javascript, and it is probable that String comparisons and conversions from ascii to ucode representations of classes implementing the GreekString trait will only work correctly for Unicode that is already normalized to Form NFC.

    Definition Classes
    shot
  • AtticGreekString
  • CodePointPair
  • CodePointTranscoder
  • GreekException
  • GreekNumeric
  • GreekString
  • LiteraryGreekString
  • Main
  • MilesianNumeric

object LiteraryGreekString extends Serializable

Utility functions for working with definitions of the LiteraryGreekString class's character encoding.

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LiteraryGreekString
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val accents: Vector[Char]

    Accent characters.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def asciiToUcode(ascii: String, ucode: String): String

    Use the CodePointTranscoder object to recursively convert code points represented in ascii view to ucode code points.

    Use the CodePointTranscoder object to recursively convert code points represented in ascii view to ucode code points.

    ascii

    String to convert to ucode view.

    ucode

    Accumluated string of Unicode code points in ucode view's encoding.

  7. val breathings: Vector[Char]

    Breathing characters.

  8. def classOfChar(c: Character): String

    String label for class of a character.

    String label for class of a character.

    c

    Character to classify.

  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  10. val comboChars: Vector[Char]

    Characters in addition to breathings and accents that combine with other characters in ucode view.

  11. val consonants: Vector[Char]

    Alphabetically ordered Vector of consonant characters in ascii view.

  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def isAccent(c: Character): Boolean

    True if given character is an accent.

    True if given character is an accent.

    c

    Character to check.

  18. def isAlpha(c: Character): Boolean

    True if given character is alphabetic.

    True if given character is alphabetic.

    c

    Character to check.

  19. def isBreathing(c: Character): Boolean

    True if given character is a breathing.

    True if given character is a breathing.

    c

    Character to check.

  20. def isCombining(c: Character): Boolean

    True if given character combines with other characters in ucode view.

    True if given character combines with other characters in ucode view.

    c

    Character to check.

  21. def isConsonant(c: Character): Boolean

    True if given character is a consonant.

    True if given character is a consonant.

    c

    Character to check.

  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. def isVowel(c: Character): Boolean

    True if given character is a vowel.

    True if given character is a vowel.

    c

    Character to check.

  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. def nfcToAscii(ucode: String, ascii: String): String

    Recursively converts code points in a Unicode string in form NFC to equivalent characters in ascii view.

    Recursively converts code points in a Unicode string in form NFC to equivalent characters in ascii view.

    ucode

    String to convert. Note that the String must be in Unicode Form NFC.

    ascii

    String of ascii view accumulated so far.

  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. def peekAhead(s: String, accumulator: String): String

    Extract first series of characters from an ascii String forming a single Unicode code point by recursively looking ahead as long as following character is a combining character.

    Extract first series of characters from an ascii String forming a single Unicode code point by recursively looking ahead as long as following character is a combining character.

    s

    String to extract code point from.

    accumulator

    String accumulasted so far.

  29. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. val vowels: Vector[Char]

    Alphabetically ordered Vector of vowel characters in ascii view.

  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped