What it is
ohco2 is a cross-platform library for working with corpora of citable texts.
Current version: 10.20.4
Status: active development. Release notes
Using, building, testing
ohco2 can be built for both the JVM and ScalaJS using any version of Scala 2.11 or higher. Binaries for both the JVM and ScalaJS are available from jcenter built with Scala 2.12.3. To use the binaries in an sbt project, include
Resolver.jcenterRepoin your list of resolvers
resolvers += Resolver.jcenter
and add this to your library dependencies:
"edu.holycross.shot.cite" %% "ohco2" % VERSION
For maven, ivy or gradle equivalents, refer to https://bintray.com/neelsmith/maven/ohco2.
To build from source and test for a given version, use normal sbt commands (
You can also test or run tasks against all versions, using
+ before the task name. E.g.,
sbt "+ test" runs the
test task against all versions.
ohco2 is used by the CITE library manager
scm documentaton at https://cite-architecture.github.io/scm/ includes examples of how to create an ohco2
TextRepository from local files in various formats.