Dependency Parser Module

The Txala dependency parser [ACM05] gets parsed sentences -that is, sentence objects which have been enriched with a parse_tree by the chart_parser (or by any other means).

class dep_txala : public dependency_parser {
 public:   
   /// constructor
   dep_txala(const std::string &, const std::string &);

   /// Enrich all sentences in given list with a depenceny tree.
   void analyze(std::list<sentence> &);
};

The constructor receives two strings: the name of the file containging the dependency rules to be used, and the start symbol of the grammar used by the chart_parser to parse the sentence.

The dependency parser works in three stages:

The syntax and semantics of <GRPAR> and <GRLAB> rules are described in section 3.18.1.



Subsections
Lluís Padró 2010-09-02