Packages

object TeiReader extends LogSupport

Object for parsing TEI XML into the HMT project object model of an edition.

Linear Supertypes
LogSupport, LazyLogger, LoggingMethods, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TeiReader
  2. LogSupport
  3. LazyLogger
  4. LoggingMethods
  5. Serializable
  6. Serializable
  7. AnyRef
  8. 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. def analyzeCitableNode(cn: CitableNode): Vector[HmtToken]

    Analyze a single citable node into a Vector of HmtTokens.

  5. def analyzeCorpus(c: Corpus): Vector[HmtToken]

    Analyze an OHCO2 corpus.

    Analyze an OHCO2 corpus. Creates a Vector of HmtTokens representing every token in the TEI source.

    c

    Corpus to analyze.

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def citeDisambiguation(el: Elem, settings: TokenSettings, attr: String = "@n"): Vector[HmtToken]
  8. def citeUrnFromAttr(el: Elem, attr: String = "@n"): Option[Cite2Urn]
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  10. def collectCitableTokens(n: Node, settings: TokenSettings): Vector[HmtToken]

    Extract tokens from the root of citable node represented as an XML node, which can be either an Element or a Text node.

    Extract tokens from the root of citable node represented as an XML node, which can be either an Element or a Text node. First walk the XML tree for basic tokenization. Then cycle through the resulting list of tokens to add a token level to the URN's passage component.

    n

    Node to tokenize.

    settings

    State of text at this point.

  11. def collectTokens(n: Node, settings: TokenSettings): Vector[HmtToken]
  12. def collectWrappedTokenReadings(n: Node, settings: TokenSettings, readings: Vector[Reading] = Vector.empty[Reading]): Vector[Reading]
  13. def ctsSafe(s: String): String

    URL encode any colon characters in s so that s can be used as the extended citation string of a CtsUrn.

    URL encode any colon characters in s so that s can be used as the extended citation string of a CtsUrn.

    s

    String to use as extended citation string of a CtsUrn.

  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 disambiguatingTokens(el: Elem, settings: TokenSettings): Vector[HmtToken]
  17. def discourseTokens(el: Elem, settings: TokenSettings): Vector[HmtToken]
  18. def editionTypes: Vector[MidEditionType]

    Vector of MidEditionTypes that this object can produce.

  19. def editorialTokens(el: Elem, settings: TokenSettings): Vector[HmtToken]
  20. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  22. macro def error(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  23. macro def error(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  24. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. def hierarchySettings(el: Elem, settings: TokenSettings): TokenSettings

    Check conformance of an element with HMT markup requirements, and create a new settings object for parsing by adding any further error messages to the current settings object.

    Check conformance of an element with HMT markup requirements, and create a new settings object for parsing by adding any further error messages to the current settings object.

    el

    Element to analyze.

    settings

    Current TokenSettings.

  27. macro def info(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  28. macro def info(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  29. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  30. def leftMost(s: String, subString: String): String
  31. macro def logAt(logLevel: LogLevel, message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  32. lazy val logger: Logger
    Attributes
    protected[this]
    Definition Classes
    LazyLogger
  33. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  34. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  35. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  36. val punctuationSplitter: String

    Intimidating regular expression splitting strings by HMT Greek punctuation.

  37. def rightMost(s: String, subString: String): String
  38. def scribalTokens(el: Elem, settings: TokenSettings): Vector[HmtToken]
  39. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  40. def toString(): String
    Definition Classes
    AnyRef → Any
  41. def tokenForString(tknString: String, settings: TokenSettings): HmtToken

    Create an HmtToken for a single String in a context described by a TokenSettings object when you reach the leaf of of your XML tree.

    Create an HmtToken for a single String in a context described by a TokenSettings object when you reach the leaf of of your XML tree.

    tknString

    The textual reading for this token.

    settings

    Contextual values within the document for this token.

  42. def tokensFromElement(el: Elem, settings: TokenSettings): Vector[HmtToken]

    Extract tokens from a TEI element.

    Extract tokens from a TEI element.

    el

    Element to tokenize.

    settings

    State of text at this point.

  43. def tokensFromText(str: String, settings: TokenSettings): Vector[HmtToken]

    Extract tokens from a TEI text node's string value.

    Extract tokens from a TEI text node's string value.

    str

    String to tokenize.

    settings

    State of text at this point.

  44. macro def trace(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  45. macro def trace(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  46. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  48. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. macro def warn(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  50. macro def warn(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  51. def wrappedToken(el: Elem, settings: TokenSettings, tokenType: LexicalCategory): Vector[HmtToken]

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 AnyRef

Inherited from Any

Ungrouped