Packages

p

edu.holycross.shot.mid

validator

package validator

Provides classes for validating editorial work following HC MID conventions.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. validator
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class DseReporter(pg: Cite2Urn, dse: DseVector, txts: Corpus) extends Product with Serializable

    An object for analyzing and writing reports about the DSE relations for material on a single surface (page).

    An object for analyzing and writing reports about the DSE relations for material on a single surface (page).

    pg

    Page to analyze.

    dse

    DSE records for the whole repository.

    txts

    Corpus composed only of texts on this page.

  2. case class EditorsRepo(baseDir: String) extends Product with Serializable

    Local file system of an HCMID editorial repository laid out according to 2018 standards.

    Local file system of an HCMID editorial repository laid out according to 2018 standards.

    baseDir

    Root directory of repository.

  3. case class ImageManager(ictBase: String = ..., iipBase: String = ...) extends Product with Serializable

    A class for working with image services recognizing URNs.

    A class for working with image services recognizing URNs.

    ictBase

    Base URL for HMT Image Citation Service, version 2.

    iipBase

    Base URL for IIP image service.

    Annotations
    @JSExportTopLevel( "ImageManager" )
  4. trait MidEditionType extends AnyRef

    A named category of edition.

  5. trait MidMarkupReader extends AnyRef

    A class capable of reading marked up archival editions, and creating editions of specified types.

  6. case class MidNeumeReader(applicableType: MidEditionType) extends MidMarkupReader with Product with Serializable

    Reads MID texts editing neumes in TEI markup.

  7. trait MidOrthography extends AnyRef

    An orthographic system

  8. case class MidProseABReader(applicableType: MidEditionType) extends MidMarkupReader with Product with Serializable

    Reads MID prose texts in TEI markup using ab element as terminal citation unit.

  9. case class MidToken(urn: CtsUrn, string: String, tokenCategory: Option[MidTokenCategory]) extends Product with Serializable

    A classified token.

    A classified token.

    urn

    Exemplar-level CtsUrn identifying the token.

    tokenCategory

    None if string cannot be analyzed; otherwise, Option of a MidTokenCategory recognized by an [MidOrthography]'s tokenCategories function.

  10. trait MidTokenCategory extends AnyRef

    A named category of token for a given orthography.

  11. case class OrthoPairing(urn: CtsUrn, orthography: MidOrthography) extends Product with Serializable

    Pairing of a text or set of texts identified by URN with an orthographic system.

    Pairing of a text or set of texts identified by URN with an orthographic system.

    urn

    Identifier for a text or set of texts.

    orthography

    Orthographic system used in the texts identified by urn.

    Annotations
    @JSExportTopLevel( "OrthoPairing" )
  12. case class PaleographicObservation(reading: String, img: Cite2Urn) extends Product with Serializable

    A paleographic observation of a single glyph.

    A paleographic observation of a single glyph.

    reading

    Reading of text of a single glyph.

  13. case class ReadersPairing(urn: CtsUrn, readers: Vector[MidMarkupReader]) extends Product with Serializable

    Mapping of a text or group of texts identified by CtsUrn to a list of MidMarkupReaders.

    Mapping of a text or group of texts identified by CtsUrn to a list of MidMarkupReaders.

    urn

    Text or texts these markup readers can be applied to.

    readers

    Readersa applicable to texts identified by urn.

  14. case class TestResults[T](good: Vector[T], bad: Vector[String]) extends Product with Serializable

    Type-paramaterized class for results of testing.

    Type-paramaterized class for results of testing.

    good

    A Vector of successful results of type T.

    bad

    A Vector of error messages.

  15. case class ValidationReporter(midValidator: Validator) extends Product with Serializable

  16. case class Validator(repo: EditorsRepo, readers: Vector[ReadersPairing], orthos: Vector[OrthoPairing]) extends Product with Serializable

    Validator helps you manage and maintain the contents of a Homer Multitext project repository.

    Validator helps you manage and maintain the contents of a Homer Multitext project repository.

    repo

    Root directory of a repository laid out according to conventions of HMT project in 2018.

Value Members

  1. def collectText(n: Node, s: String = ""): String

    Recursively collect all text contained in a branches of a given XML node, normalizing runs of whitespace characters to a single space.

    Recursively collect all text contained in a branches of a given XML node, normalizing runs of whitespace characters to a single space.

    n

    Root of subtree to collect text from.

    s

    Previously seen string data to add new contents to.

  2. val ictBase: String

    Base URL for Image Citation Tools.

  3. val includeDelimiterRE: String

    Awesome regex to select text while keeping delimiting string in the resulting match group.

  4. val okImg: String

    Icon image for good results.

  5. val sadImg: String
  6. object Latin23 extends MidOrthography
    Annotations
    @JSExportTopLevel( "Latin23" )
  7. object LexicalToken extends MidTokenCategory with Product with Serializable

    A token.

    A token.

    Annotations
    @JSExportTopLevel( "LexicalToken" )
  8. object MidDiplomaticEdition extends MidEditionType with Product with Serializable

    Annotations
    @JSExportTopLevel( "MidDiplomaticEdition" )
  9. object MidNeumeReader extends Serializable

    Implementation of MID model for prose texts encoded with terminal citation units in TEI ab elements.

  10. object MidOrthography

    Singleton object for operating on vectors of [MidToken]s.

  11. object MidProseABReader extends Serializable

    Implementation of MID model for prose texts encoded with terminal citation units in TEI ab elements.

  12. object MidScribalEdition extends MidEditionType with Product with Serializable
    Annotations
    @JSExportTopLevel( "MidScribalEdition" )
  13. object NumericToken extends MidTokenCategory with Product with Serializable

    A numeric token.

    A numeric token.

    Annotations
    @JSExportTopLevel( "NumericToken" )
  14. object PaleographyResults
  15. object PraenomenToken extends MidTokenCategory with Product with Serializable

    A praenomen token.

    A praenomen token.

    Annotations
    @JSExportTopLevel( "PraenomenToken" )
  16. object PunctuationToken extends MidTokenCategory with Product with Serializable

    A punctuation token.

    A punctuation token.

    Annotations
    @JSExportTopLevel( "PunctuationToken" )
  17. object Validator extends Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped