opennlp.leo.regulus.tug
Class Rule

java.lang.Object
  |
  +--opennlp.leo.regulus.tug.Rule

public class Rule
extends java.lang.Object

Java representation of a TUG rule.

Version:
$Revision: 1.1.1.1 $, $Date: 2001/10/22 11:12:36 $
Author:
Jason Baldridge

Field Summary
static java.lang.String defaultTier
           
 
Constructor Summary
Rule(org.jdom.Element rule)
           
Rule(PPred pp)
           
 
Method Summary
 void addSemanticRule(PPred pp)
           
 java.lang.String getName()
           
 LF[][] getSemantics()
           
 Constituent[] getSyntax()
           
 java.lang.String semToProlog()
           
 java.lang.String synToProlog()
           
 java.lang.String toXml(java.lang.String tab)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

defaultTier

public static java.lang.String defaultTier
Constructor Detail

Rule

public Rule(org.jdom.Element rule)

Rule

public Rule(PPred pp)
Method Detail

addSemanticRule

public void addSemanticRule(PPred pp)

getName

public java.lang.String getName()

getSyntax

public Constituent[] getSyntax()

getSemantics

public LF[][] getSemantics()

synToProlog

public java.lang.String synToProlog()

semToProlog

public java.lang.String semToProlog()

toXml

public java.lang.String toXml(java.lang.String tab)


Copyright 2002 Research Institute for Advanced Computer Science. All Rights Reserved.