An open API service indexing awesome lists of open source software.

https://github.com/hltcoe/concrete-java

Java library for Concrete, a data serialization format for NLP
https://github.com/hltcoe/concrete-java

Last synced: 4 months ago
JSON representation

Java library for Concrete, a data serialization format for NLP

Awesome Lists containing this project

README

          

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

Concrete Java
=============
Java libraries for the [Concrete](https://github.com/hltcoe/concrete) HLT data schema.

JavaDoc API documentation is hosted on
[javadoc.io](http://www.javadoc.io/doc/edu.jhu.hlt/concrete-core)

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:
```shell
./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:
```shell
mvn clean package
```

To install the jars into your local maven repository, run:
```shell
mvn clean install
```

Using an IDE
--------------
If you are using an IDE such as Eclipse or IntelliJ, you are likely getting
many build errors because some modules use FreeBuilder. See the
[FreeBuilder readme](https://github.com/google/FreeBuilder#build-tools-and-ides)
for instructions on configuring your IDE.

Maven Dependencies
----------
See the pom.xml file for the current version.

```xml

edu.jhu.hlt
concrete-core
x.y.z

```

```xml

edu.jhu.hlt
concrete-safe
x.y.z

```

```xml

edu.jhu.hlt
concrete-util
x.y.z

```

```xml

edu.jhu.hlt
concrete-validation
x.y.z

```