A cross-platform library for working with collections of texts in the OHCO2 model
Scala
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
js/src
jvm/src
project
shared/src
LICENSE
README.md
build.sbt
design-notes.md
ngrams.sc
releases.md
schemes.md

README.md

ohco2

What it is

ohco2 is a cross-platform library for working with corpora of citable texts.

Current version: 10.9.0

Status: active development. Release notes

License

GPL 3.0

Documentation

See https://cite-architecture.github.io/ohco2/.

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 (compile, test ...).

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. The scm wiki at https://github.com/cite-architecture/scm/wiki includes examples of how to create an ohco2 TextRepository from local files in various formats.