ipipan.spejd.rules
Class Gazetteer
java.lang.Object
ipipan.spejd.rules.Gazetteer
- All Implemented Interfaces:
- Match
public class Gazetteer
- extends java.lang.Object
- implements Match
Not official yet.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Gazetteer
public Gazetteer(int order)
addEntry
public void addEntry(GazetteerEntry entry)
apply
public boolean apply(Entity[] chunk)
getSingle
public Entity getSingle(int s)
- Specified by:
getSingle
in interface Match
getSpec
public Entity[] getSpec(int s)
- Specified by:
getSpec
in interface Match
get
public Entity[] get(int[] s)
- Specified by:
get
in interface Match
getMatch
public Entity[] getMatch()
- Specified by:
getMatch
in interface Match
log
public void log(java.io.PrintStream log)
report
public void report(java.io.PrintStream log)