Branch | Status |
---|---|
Develop | |
Master |
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:
- The location specified by the system environment variable $GATE_HOME.
- The location specified by the Java System property named GATE_HOME.
/usr/local/gate
/home/gate
/gate
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());
}
}