FreeLing  3.0
Public Member Functions | Private Attributes
chart_parser Class Reference

Class chart_parser implements a chart parser. More...

#include <chart_parser.h>

Inheritance diagram for chart_parser:
Inheritance graph
[legend]
Collaboration diagram for chart_parser:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 chart_parser (const std::wstring &)
 Constructors.
std::wstring get_start_symbol (void) const
 Get the start symbol of the grammar.
void analyze (sentence &)
 analyze given sentence
void analyze (std::list< sentence > &)
 analyze given sentences
sentence analyze (const sentence &)
 analyze sentence, return analyzed copy
std::list< sentenceanalyze (const std::list< sentence > &)
 analyze sentences, return analyzed copy

Private Attributes

chart ch
 Part of the rule already matched.
grammar gram

Detailed Description

Class chart_parser implements a chart parser.


Constructor & Destructor Documentation

chart_parser::chart_parser ( const std::wstring &  )

Constructors.


Member Function Documentation

void chart_parser::analyze ( sentence ) [virtual]

analyze given sentence

Implements processor.

void chart_parser::analyze ( std::list< sentence > &  )

analyze given sentences

Reimplemented from processor.

analyze sentence, return analyzed copy

Reimplemented from processor.

std::list<sentence> chart_parser::analyze ( const std::list< sentence > &  )

analyze sentences, return analyzed copy

Reimplemented from processor.

std::wstring chart_parser::get_start_symbol ( void  ) const

Get the start symbol of the grammar.


Member Data Documentation

Part of the rule already matched.


The documentation for this class was generated from the following file: