Tanl Linguistic Pipeline

Parser::conf_feature Class Reference
[Configuration]

A conf_feature contains a set of feature specifications. More...

#include <conf_feature.h>

Inheritance diagram for Parser::conf_feature:
IXE::Var< FeatureSpecs > IXE::Configuration::Item

List of all members.

Public Member Functions

 conf_feature (char const *name)
 conf_feature (char const *name, char const *value)
virtual void serialize (std::ostream &os)
 Serialize variable so that it can be read back.

Protected Member Functions

virtual void parseValue (char const *&line)
 Parse the line of text, which should have the following syntax: feature tokenPath+ tokenPath : INT | rel(tokenPath) rel : leftChild | rightChild | par | prev | next | leftSibling | rightSibling.
virtual void reset ()

Detailed Description

A conf_feature contains a set of feature specifications.


Member Function Documentation

void Parser::conf_feature::parseValue ( char const *&  line  )  [protected, virtual]

Parse the line of text, which should have the following syntax: feature tokenPath+ tokenPath : INT | rel(tokenPath) rel : leftChild | rightChild | par | prev | next | leftSibling | rightSibling.

Parameters:
line The line of text to be parsed.

Implements IXE::Configuration::Item.

References Tanl::Text::next_token_line().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
 
Copyright © 2005-2011 G. Attardi. Generated on 4 Mar 2011 by doxygen 1.6.1.