Skip to content

lappsgrid-incubator/gate-abner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GATE Abner Tagger

Build

Branch Status
Develop Java CI with Maven
Master Java CI with Maven

Deployment

Maven Central

Description

Provides a AbnerTagger tagger class as a standalone program/library. This package expects the GATE Abner Tagger to be available on the local system. The AbnerTagger class will look for plugins in:

  1. The location specified by the system environment variable $GATE_HOME.
  2. The location specified by the Java System property named GATE_HOME.
  3. /usr/local/gate
  4. /home/gate
  5. /gate

Usage

import org.lappsgrid.gate.abner.AbnerTagger;
import gate.Document;

public class Example {
	public static void main(String[] args) {
		AbnerTagger tagger = new AbnerTagger();
        Document doc = AbnerTagger.createDocmentFromText("Hello world.");
        tagger.execute(doc);
        System.out.prinln(doc.toXml());
	}
}