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
o

edu.holycross.shot.greek

CodePointTranscoder

object CodePointTranscoder

Manager for two-way mappings between ascii-based code point sequences and code points in the Greek and Coptic or Extended Greek blocks of Unicode.

Annotations
@JSExportAll()
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CodePointTranscoder
  2. AnyRef
  3. 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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def asciiCodePoint(ucodeCodePoint: String): String

    Find the ascii String encoding for a single ucode codepoint.

    Find the ascii String encoding for a single ucode codepoint.

    ucodeCodePoint

    A String representing a single codepoint in the ucode encoding.

  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. def pairings: Vector[CodePointPair]

    All recognized pairings of ascii String encodings to ucode String encodings

  17. def swapPrecedingBreathings(s: String): String

    Utility function to tidy up badly encoded Unicode when a combining accent is erroneously placed on a preceding space by luddites equating typesetting with encoding.

    Utility function to tidy up badly encoded Unicode when a combining accent is erroneously placed on a preceding space by luddites equating typesetting with encoding.

    s

    String to fix.

  18. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. def ucodeCodePoint(asciiCodePoint: String): String

    Find a single ucode code point, as a String, for a string of ASCII characters.

    Find a single ucode code point, as a String, for a string of ASCII characters.

    asciiCodePoint

    String of characters from ascii encoding equated with a single ucode codepoint.

  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped