Class DATA

java.lang.Object
  |
  +--DATA

public class DATA
extends java.lang.Object

This is a wrapper class to keep all the input data together. This allows it to be accessed by all modules, even if not present at time of compile


Field Summary
 DisplayQueue display_queue
          Display list of most recently displayed/accessed 3d objects.
 Table2 features
          Contains the vector table of the general features
 Table2 grammers
          Contains the vector table of the grammer type features
 java.util.Hashtable lxhash
          The HashTable that contains all the Lexemes
 java.util.Hashtable orhash
          The HashTable that contains all the Object and Relations
 RuleEntryLHS[] rules
          An Array form of the rules for NP parsing, fixed after intialization
 RuleEntryLHS[] rulist
          The Vector that contains all the Rules
 Triplepair[] rupointers
          The Vector that contains all the location of all the rules with the highest subscript for a particular type
 Triplepair[] rustops
          The Vector that contains all the location of all the rules with the lowest subscript for a particular type
 RuleEntryLHS[] s_rules
          An Array for of the rules for general parsing, fixed after intialization
 java.util.Hashtable trhash
          The HashTable that contains all the Triples
 
Constructor Summary
DATA()
          Default Constructor.
DATA(Table2 f, Table2 g, java.util.Hashtable o, java.util.Hashtable l, java.util.Hashtable t, RuleEntryLHS[] r)
          Constructor.
 
Method Summary
 void addNPRules(java.util.Vector rulist)
          Update function for rules; maintains the rule array rules
 void addSRules(java.util.Vector rulist)
          Update function for s_rules; maintains the rule array s_rules
 void link_object(java.lang.String filename)
          Links 3D mesh files with the objects in the orhash.
 void link_relations()
          Manully link relations with RelFunctions.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

features

public Table2 features
Contains the vector table of the general features

grammers

public Table2 grammers
Contains the vector table of the grammer type features

orhash

public java.util.Hashtable orhash
The HashTable that contains all the Object and Relations

lxhash

public java.util.Hashtable lxhash
The HashTable that contains all the Lexemes

trhash

public java.util.Hashtable trhash
The HashTable that contains all the Triples

rulist

public RuleEntryLHS[] rulist
The Vector that contains all the Rules

rules

public RuleEntryLHS[] rules
An Array form of the rules for NP parsing, fixed after intialization

s_rules

public RuleEntryLHS[] s_rules
An Array for of the rules for general parsing, fixed after intialization

rupointers

public Triplepair[] rupointers
The Vector that contains all the location of all the rules with the highest subscript for a particular type

rustops

public Triplepair[] rustops
The Vector that contains all the location of all the rules with the lowest subscript for a particular type

display_queue

public DisplayQueue display_queue
Display list of most recently displayed/accessed 3d objects.
Constructor Detail

DATA

public DATA()
Default Constructor.

DATA

public DATA(Table2 f,
            Table2 g,
            java.util.Hashtable o,
            java.util.Hashtable l,
            java.util.Hashtable t,
            RuleEntryLHS[] r)
Constructor.
Parameters:
f - Features vector table
g - Grammer Vector table
o - Object / Relation table
l - Lexeme Table
t - Triple Table
r - Rule list
Method Detail

addNPRules

public void addNPRules(java.util.Vector rulist)
Update function for rules; maintains the rule array rules
Parameters:
rulist - the rules in Vector form

addSRules

public void addSRules(java.util.Vector rulist)
Update function for s_rules; maintains the rule array s_rules
Parameters:
rulist - the rules in Vector form

link_object

public void link_object(java.lang.String filename)
Links 3D mesh files with the objects in the orhash.
Parameters:
filename - Name of file which contains links.

link_relations

public void link_relations()
Manully link relations with RelFunctions.