opennlp.leo.regulus.tdl
Class Tdl

java.lang.Object
  |
  +--opennlp.leo.regulus.tdl.Tdl
Direct Known Subclasses:
LkbTdl

public class Tdl
extends java.lang.Object

A Java representation of a TDL grammar.

Version:
$Revision: 1.2 $, $Date: 2002/03/31 14:17:38 $
Author:
Jason Baldridge

Field Summary
 TdlEntry[] lexicon
           
 TdlEntry[] rules
           
 TdlTypeDef[] types
           
 
Constructor Summary
protected Tdl()
           
  Tdl(TdlTypeDef[] _types, TdlEntry[] _rules, TdlEntry[] _lexicon)
           
 
Method Summary
 void persist(java.io.File dirname)
           
 java.lang.String toString()
           
 java.lang.String toXml()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

types

public TdlTypeDef[] types

rules

public TdlEntry[] rules

lexicon

public TdlEntry[] lexicon
Constructor Detail

Tdl

protected Tdl()

Tdl

public Tdl(TdlTypeDef[] _types,
           TdlEntry[] _rules,
           TdlEntry[] _lexicon)
Method Detail

persist

public void persist(java.io.File dirname)
             throws java.io.IOException
java.io.IOException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toXml

public java.lang.String toXml()


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