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
- Host: GitHub
- URL: https://github.com/hltcoe/concrete-java
- Owner: hltcoe
- License: other
- Created: 2014-06-24T05:59:00.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2019-05-13T22:54:15.000Z (about 7 years ago)
- Last Synced: 2025-07-04T16:36:29.249Z (11 months ago)
- Language: Java
- Homepage:
- Size: 3.77 MB
- Stars: 6
- Watchers: 11
- Forks: 8
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```