Packages

o

edu.holycross.shot.ohco2

TextRepositorySource

object TextRepositorySource

Factory for TextRepository objects and string representations of repositories in .cex format.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TextRepositorySource
  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 cex(invFileName: String, configFileName: String, baseDirectoryName: String, delim1: String = "#", delim2: String = ","): Vector[OnlineDocument]

    Create complete CEX representation of a text repository from local files.

    Create complete CEX representation of a text repository from local files.

    invFileName

    Name of file with basic inventory of texts and their citation schemes.

    configFileName

    Name of file with details about location and format of files.

    baseDirectoryName

    Name of root directory where local files are found.

  6. def cexForDocument(doc: OnlineDocument, outputDelim: String = "#"): String

    Convert an online text documented by an OnlineDocument object to a two-column string.

    Convert an online text documented by an OnlineDocument object to a two-column string.

    doc

    Documentation of the text to convert.

  7. def cexForMarkdown(doc: OnlineDocument, invFile: String, confFile: String, outputDelim: String = "#"): String
  8. def cexForXml(doc: OnlineDocument, outputDelim: String = "#", encoding: String = "UTF-8"): String

    Convert a single XML file documentd by an OnlineDocument object to a two-column string.

    Convert a single XML file documentd by an OnlineDocument object to a two-column string.

    doc

    Documentation of the text to convert.

    outputDelim

    Delimiter to use in CEX output.

  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  10. def corpusFromOnlineVector(onlineVect: Vector[OnlineDocument]): Corpus
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def fromCexFile(cexFile: String, delimiter: String = "#", encoding: String = "UTF-8"): TextRepository

    Create a TextRepository from a single file with CEX data.

    Create a TextRepository from a single file with CEX data.

    cexFile

    File with data in CEX format.

    delimiter

    String value used to delimit columns of CEX data.

  15. def fromFiles(catalogFileName: String, configFileName: String, baseDirectoryName: String, delimiter: String = "#", delimiter2: String = ",", encoding: String = "UTF-8"): TextRepository

    Create a TextRepository from local files.

    Create a TextRepository from local files.

    catalogFileName

    Name of file with catalog of texts in CEX format.

    configFileName

    Name of file with delimited-text data mapping cataloged texts to typed local files.

    baseDirectoryName

    Base directory for local files. Paths in the configuration file are relative to this directory.

    delimiter2

    Secondary delimiter for CEX structure.

  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. def onlineVector(configFileName: String, baseDirectoryName: String, delimiter1: String = "#", delimiter2: String = ",", encoding: String = "UTF-8"): Vector[OnlineDocument]

    Create a vector of OnlineDocuments from a cataloged set of files in a local file system.

    Create a vector of OnlineDocuments from a cataloged set of files in a local file system.

    configFileName

    Name of file with details about location and format of files.

    baseDirectoryName

    Name of root directory where local files are found.

  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped