Java library for Concrete, a data serialization format for NLP
Java Xtend Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
analytics
core
dictum
lucene
miscommunication
ontology
redis
safe
server
services
simpleaccumulo
sql
src/site
tift
util
validation
zip
.dockerignore
.gitignore
.gitlab-ci.yml
Dockerfile
LICENSE
NEWS.md
README.md
conversion-guide.md
generate.sh
pom.xml

README.md

Copyright 2012-2017 Johns Hopkins University HLTCOE. All rights reserved. See LICENSE in the project root directory.

Concrete Java

Java libraries for the Concrete HLT data schema.

JavaDoc API documentation is hosted on javadoc.io

Generating Thrift Java files

Call generate.sh, where the first and only argument is the path to the thrift files from concrete.

As an example, if the concrete repo and this repo are in the same directory, run:

./generate.sh ../concrete/thrift

Be aware that you'll need Thrift 0.10.0 installed and in your $PATH.

Building and Installing

Maven is used to build concrete-java:

mvn clean package

To install the jars into your local maven repository, run:

mvn clean install

Maven Dependencies

See the pom.xml file for the current version.

<dependency>
  <groupId>edu.jhu.hlt</groupId>
  <artifactId>concrete-core</artifactId>
  <version>x.y.z</version>
</dependency>
<dependency>
  <groupId>edu.jhu.hlt</groupId>
  <artifactId>concrete-safe</artifactId>
  <version>x.y.z</version>
</dependency>
<dependency>
  <groupId>edu.jhu.hlt</groupId>
  <artifactId>concrete-util</artifactId>
  <version>x.y.z</version>
</dependency>
<dependency>
  <groupId>edu.jhu.hlt</groupId>
  <artifactId>concrete-validation</artifactId>
  <version>x.y.z</version>
</dependency>