opennlp.leo.regulus.tdl
Class LkbTdl

java.lang.Object
  |
  +--opennlp.leo.regulus.tdl.Tdl
        |
        +--opennlp.leo.regulus.tdl.LkbTdl

public class LkbTdl
extends Tdl


Field Summary
 TdlEntry[] parseNodes
           
 
Fields inherited from class opennlp.leo.regulus.tdl.Tdl
lexicon, rules, types
 
Constructor Summary
LkbTdl()
           
LkbTdl(java.io.File dir)
           
LkbTdl(TdlTypeDef[] _types, TdlEntry[] _rules, TdlEntry[] _lexicon, TdlEntry[] _parseNodes)
           
 
Method Summary
 void addGrammarSetting(java.lang.String s)
           
static void main(java.lang.String[] args)
           
 void persist(java.io.File dirname)
           
 void readLexicon(java.io.File tf)
           
 void readParseNodes(java.io.File tf)
           
 void readRules(java.io.File tf)
           
 void readTypes(java.io.File tf)
           
 void setParseNodes(TdlEntry[] pns)
           
 
Methods inherited from class opennlp.leo.regulus.tdl.Tdl
toString, toXml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

parseNodes

public TdlEntry[] parseNodes
Constructor Detail

LkbTdl

public LkbTdl()

LkbTdl

public LkbTdl(TdlTypeDef[] _types,
              TdlEntry[] _rules,
              TdlEntry[] _lexicon,
              TdlEntry[] _parseNodes)

LkbTdl

public LkbTdl(java.io.File dir)
       throws java.io.FileNotFoundException
Method Detail

setParseNodes

public void setParseNodes(TdlEntry[] pns)

readTypes

public void readTypes(java.io.File tf)
               throws java.io.FileNotFoundException
java.io.FileNotFoundException

readRules

public void readRules(java.io.File tf)
               throws java.io.FileNotFoundException
java.io.FileNotFoundException

readLexicon

public void readLexicon(java.io.File tf)
                 throws java.io.FileNotFoundException
java.io.FileNotFoundException

readParseNodes

public void readParseNodes(java.io.File tf)

addGrammarSetting

public void addGrammarSetting(java.lang.String s)

persist

public void persist(java.io.File dirname)
             throws java.io.IOException
Overrides:
persist in class Tdl
java.io.IOException

main

public static void main(java.lang.String[] args)
                 throws java.io.FileNotFoundException
java.io.FileNotFoundException


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