ipipan.spejd.rules
Class Gazetteer

java.lang.Object
  extended by ipipan.spejd.rules.Gazetteer
All Implemented Interfaces:
Match

public class Gazetteer
extends java.lang.Object
implements Match

Not official yet.


Constructor Summary
Gazetteer(int order)
           
 
Method Summary
 void addEntry(GazetteerEntry entry)
           
 boolean apply(Entity[] chunk)
           
 Entity[] get(int[] s)
           
 Entity[] getMatch()
           
 Entity getSingle(int s)
           
 Entity[] getSpec(int s)
           
 void log(java.io.PrintStream log)
           
 void report(java.io.PrintStream log)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Gazetteer

public Gazetteer(int order)
Method Detail

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)