ipipan.spejd.rules
Class Rule

java.lang.Object
  extended by ipipan.spejd.rules.AbstractRule
      extended by ipipan.spejd.rules.Rule

public class Rule
extends AbstractRule


Constructor Summary
Rule(java.lang.String title, java.lang.String[] left, java.lang.String[] match, java.lang.String[] right, Action[] actions)
           
 
Method Summary
 boolean apply(Sentence sentence)
           
 void log(java.io.PrintStream log)
          Write parsed rule to the log file.
 
Methods inherited from class ipipan.spejd.rules.AbstractRule
applyActions, getTitle, report
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Rule

public Rule(java.lang.String title,
            java.lang.String[] left,
            java.lang.String[] match,
            java.lang.String[] right,
            Action[] actions)
Method Detail

log

public void log(java.io.PrintStream log)
Description copied from class: AbstractRule
Write parsed rule to the log file.

Specified by:
log in class AbstractRule

apply

public boolean apply(Sentence sentence)