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
  • LGSValidator
  • LiteraryGreekString
  • Main
  • MilesianInteger
  • MilesianNumeric
  • MilesianWithFraction
  • MilesianWithPartial
  • MilesianWithSexagesimal

object LiteraryGreekString extends MidOrthography with LogSupport

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

Linear Supertypes
LogSupport, LazyLogger, LoggingMethods, Serializable, Serializable, MidOrthography, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LiteraryGreekString
  2. LogSupport
  3. LazyLogger
  4. LoggingMethods
  5. Serializable
  6. Serializable
  7. MidOrthography
  8. AnyRef
  9. 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. val alphabetString: String

    All valid characters in the ASCII representation of this system in their alphabetic order in Greek.

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. 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.

    Annotations
    @tailrec()
  8. val asteriskCp: Int
    Definition Classes
    MidOrthography
  9. val breathings: Vector[Char]

    Breathing characters.

  10. def classOfChar(c: Character): String

    String label for class of a character.

    String label for class of a character.

    c

    Character to classify.

  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  12. val comboChars: Vector[Char]

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

  13. val consonants: Vector[Char]

    Alphabetically ordered Vector of consonant characters in ascii view.

  14. macro def debug(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  15. macro def debug(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  16. def depunctuate(s: String, depunctVector: Vector[String] = Vector.empty): Vector[String]
    Annotations
    @tailrec()
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  19. macro def error(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  20. macro def error(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  21. def exemplarId: String
    Definition Classes
    LiteraryGreekString → MidOrthography
  22. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. def hiliteBadCps(cps: Vector[Int]): String
    Definition Classes
    MidOrthography
  25. def hiliteBadCps(s: String): String
    Definition Classes
    MidOrthography
  26. macro def info(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  27. macro def info(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  28. def isAccent(c: Character): Boolean

    True if given character is an accent.

    True if given character is an accent.

    c

    Character to check.

  29. def isAlpha(c: Character): Boolean

    True if given character is alphabetic.

    True if given character is alphabetic.

    c

    Character to check.

  30. def isBreathing(c: Character): Boolean

    True if given character is a breathing.

    True if given character is a breathing.

    c

    Character to check.

  31. 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.

  32. def isConsonant(c: Character): Boolean

    True if given character is a consonant.

    True if given character is a consonant.

    c

    Character to check.

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

    True if given character is a vowel.

    True if given character is a vowel.

    c

    Character to check.

  35. def lexicalCategory(s: String): Option[MidTokenCategory]
  36. macro def logAt(logLevel: LogLevel, message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  37. lazy val logger: Logger
    Attributes
    protected[this]
    Definition Classes
    LazyLogger
  38. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  39. 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.

  40. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  41. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  42. def orthography: String

    Label for orthographic system.

    Label for orthographic system.

    Definition Classes
    LiteraryGreekString → MidOrthography
  43. 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.

    Annotations
    @tailrec()
  44. def punctuationString: String
  45. val spaceCp: Int
    Definition Classes
    MidOrthography
  46. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  47. def toString(): String
    Definition Classes
    AnyRef → Any
  48. def tokenCategories: Vector[MidTokenCategory]

    Complete enumeration of MidTokenCategory values.

    Complete enumeration of MidTokenCategory values.

    Definition Classes
    LiteraryGreekString → MidOrthography
  49. def tokenizeCorpus(c: Corpus): Vector[MidToken]
    Definition Classes
    MidOrthography
  50. def tokenizeNode(n: CitableNode): Vector[MidToken]

    Tokenize a citable node.

    Tokenize a citable node.

    n

    Node to tokenize.

    Definition Classes
    LiteraryGreekString → MidOrthography
  51. def tokenizedCorpus(c: Corpus): Corpus
    Definition Classes
    MidOrthography
  52. macro def trace(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  53. macro def trace(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  54. val typography: Vector[Char]
  55. def validAsciiCP(cp: Int): Boolean
  56. def validCP(cp: Int): Boolean

    Test if cp is a valid code point.

    Test if cp is a valid code point.

    cp

    Code point to test.

    Definition Classes
    LiteraryGreekString → MidOrthography
  57. val validList: String
  58. def validString(s: String): Boolean
    Definition Classes
    MidOrthography
  59. val vowels: Vector[Char]

    Alphabetically ordered Vector of vowel characters in ascii view.

  60. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  61. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  62. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  63. macro def warn(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  64. macro def warn(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  65. val whiteSpace: Vector[Char]

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from LogSupport

Inherited from LazyLogger

Inherited from LoggingMethods

Inherited from Serializable

Inherited from Serializable

Inherited from MidOrthography

Inherited from AnyRef

Inherited from Any

Ungrouped