Skip to content

Protocol buffer definitions, making HLT data specifications concrete

License

Notifications You must be signed in to change notification settings

dkolas/concrete

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Copyright 2012-2013 Johns Hopkins University HLTCOE. All rights reserved. This software is released under the 2-clause BSD license. See LICENSE in the project root directory.

Concrete

Introduction

Concrete is an attempt to map out various NLP data types in a Thrift schema for use in projects across Johns Hopkins University. This standardized schema allows researchers to use a common, underlying data model for all NLP tasks, and thus, facilitating integration between projects.

Requirements

Concrete requires the following:

Installation

Note: by default, the thrift plugin uses:

/usr/local/bin/thrift

to locate the thrift executable. If you have installed this in a different location, update

<thrift.exe>

in the properties of core/pom.xml.

First, checkout our latest code:

git clone [email protected]:hltcoe/concrete.git

Running

mvn install

will install the plugin to your local repository.

Adding to your project

This plugin creates compiled Java classes that reflect our Thrift definitions. You can use these in your java code by adding the following dependency to your project's pom.xml file, once installed or deployed:

<dependency>
  <groupId>edu.jhu.hlt.concrete</groupId>
  <artifactId>concrete-core</artifactId>
  <version>2.0.0-SNAPSHOT</version>
</dependency>

At this time, we do not have this hosted on a public maven server.

Using the code in your project

Compiled java classes end up in the edu.jhu.hlt.concrete package. The Thrift structures generate many classes; additional technical documentation can be found in the comments of the thrift definitions themselves.

About

Protocol buffer definitions, making HLT data specifications concrete

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Scala 85.5%
  • Java 11.3%
  • Shell 3.2%