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
o

edu.holycross.shot.greek

MilesianNumeric

object MilesianNumeric extends MidOrthography with LogSupport

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

Annotations
@JSExportAll()
Linear Supertypes
LogSupport, LazyLogger, LoggingMethods, Serializable, Serializable, MidOrthography, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MilesianNumeric
  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 MAX_INT: Int

    Maximum integer value currently supported in numeric conversions.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val asteriskCp: Int
    Definition Classes
    MidOrthography
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  8. macro def debug(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  9. macro def debug(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. macro def error(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  13. macro def error(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  14. def exemplarId: String
    Definition Classes
    MilesianNumeric → MidOrthography
  15. def fract(s: String, digits: Int = 3): Option[Double]
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. val halfString: String
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. def hiliteBadCps(cps: Vector[Int]): String
    Definition Classes
    MidOrthography
  20. def hiliteBadCps(s: String): String
    Definition Classes
    MidOrthography
  21. macro def info(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  22. macro def info(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. macro def logAt(logLevel: LogLevel, message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  25. lazy val logger: Logger
    Attributes
    protected[this]
    Definition Classes
    LazyLogger
  26. val myriadCP: Char
  27. val myriadString: String
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  31. val numericAlphabetString: String

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

  32. val numericTick: String

    Unicode codepoint for numeric tick mark, as a String.

  33. def orthography: String
    Definition Classes
    MilesianNumeric → MidOrthography
  34. val ouden: Char
  35. val oudenString: String
  36. val qoppa: Char
  37. val qoppaString: String
  38. val sampi: Char
  39. val sampiString: String
  40. val seconds: String

    Double quote character is valid syntax in a MilesianNumeric string for the fractional, or secondary, segment of a String.

  41. val spaceCp: Int
    Definition Classes
    MidOrthography
  42. val stigma: Char
  43. val stigmaString: String
  44. def strToCps(s: String, cpVector: Vector[Int] = Vector.empty[Int], idx: Int = 0): Vector[Int]

    Turn a string into a Vector of code points.

  45. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  46. def toInt(s: String): Int
  47. def toIntOpt(cp: Int): Option[Int]

    Convert a code point to an integer if possible.

  48. def toString(): String
    Definition Classes
    AnyRef → Any
  49. def tokenCategories: Vector[MidTokenCategory]
    Definition Classes
    MilesianNumeric → MidOrthography
  50. def tokenizeCorpus(c: Corpus): Vector[MidToken]
    Definition Classes
    MidOrthography
  51. def tokenizeNode(cn: CitableNode): Vector[MidToken]
    Definition Classes
    MilesianNumeric → MidOrthography
  52. def tokenizedCorpus(c: Corpus): Corpus
    Definition Classes
    MidOrthography
  53. macro def trace(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  54. macro def trace(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  55. val twoThirdsString: String
  56. val upperQoppa: Char
  57. val upperSampi: Char
  58. val upperStigma: Char
  59. def validCP(cp: Int): Boolean
    Definition Classes
    MilesianNumeric → MidOrthography
  60. def validString(s: String): Boolean
    Definition Classes
    MidOrthography
  61. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  62. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  63. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  64. macro def warn(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  65. macro def warn(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods

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