Class NPparser

java.lang.Object
  |
  +--NPparser

public class NPparser
extends java.lang.Object

This function parses the Noun phrases that can be done iterativelly


Constructor Summary
NPparser(DATA info)
          Creates new NPparser
 
Method Summary
 void run(java.util.LinkedList deck, TripleStack ttable)
          This function is responsible for the parsing of all the noun phrases in the sentance that maintain the form det [adj]xn N or part N or prep N
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NPparser

public NPparser(DATA info)
Creates new NPparser
Method Detail

run

public void run(java.util.LinkedList deck,
                TripleStack ttable)
This function is responsible for the parsing of all the noun phrases in the sentance that maintain the form det [adj]xn N or part N or prep N
Parameters:
deck - a single deck from the set created by the enumerator
ttable - the structure that stores the created doublets