Skip to content

lapps/org.lappsgrid.vocabulary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

org.lappsgrid.vocabulary

Vocabulary used for LAPPS annotations, features, and metadata

Build Status

Master Status Develop Status

Maven

Maven Central

<dependency>
    <groupId>org.lappsgrid</groupId>
    <artifactId>vocabulary</artifactId>
    <version>${see.above}</version>
</dependency>    

Usage

Like the Discriminators package the Vocabulary package defines static final constants for URI in the LAPPS Grid Vocabulary.

The main classes are:

  • Annotations : URI for the annotations defined in the vocabulary.
  • Features : Allowable features for the each annotation type.
  • Metadata : Metadata attributes used by the LAPPS Grid.

For example:

Annotation a = new Annotation();
a.setLabel(Annotations.TOKEN);
a.getFeatures().add(Features.Token.PART_OF_SPEECH, "NNP");

The use of the Vocabulary classes ensures URI are used consistently and allows IDEs to provice code completion and tool-tip help.

About

Static strings for term in the LAPPS Exchange Vocabulary. See http://vocab.lappsgrid.org

Resources

License

Stars

Watchers

Forks

Packages

No packages published