An internal class for EST_SCFG_Chart for representing edges in the chart during parsing with SCFGs. More...
#include <include/EST_SCFG_Chart.h>
Public Member Functions | |
int | pos (void) |
Postion, 0 1 or 2, where 0 is empty, 1 is incomplete 2 is complete. More... | |
double | prob (void) |
Edge probability. More... | |
int | d1 () |
(Non)terminal of daughter 1 More... | |
int | d2 () |
(Non)terminal of daughter 2 More... | |
Constructor and initialisation functions | |
EST_SCFG_Chart_Edge () | |
EST_SCFG_Chart_Edge (double prob, int d1, int d2, int pos) | |
~EST_SCFG_Chart_Edge () | |
An internal class for EST_SCFG_Chart for representing edges in the chart during parsing with SCFGs.
A standard Earley type chart edge, with representations for two daughters and a position or what has been recognised. A probability is also included.
Definition at line 59 of file EST_SCFG_Chart.h.
EST_SCFG_Chart_Edge::EST_SCFG_Chart_Edge | ( | ) |
Definition at line 48 of file EST_SCFG_Chart.cc.
Definition at line 56 of file EST_SCFG_Chart.cc.
EST_SCFG_Chart_Edge::~EST_SCFG_Chart_Edge | ( | ) |
Definition at line 66 of file EST_SCFG_Chart.cc.
|
inline |
Postion, 0 1 or 2, where 0 is empty, 1 is incomplete 2 is complete.
Definition at line 74 of file EST_SCFG_Chart.h.
|
inline |
Edge probability.
Definition at line 76 of file EST_SCFG_Chart.h.
|
inline |
(Non)terminal of daughter 1
Definition at line 78 of file EST_SCFG_Chart.h.
|
inline |
(Non)terminal of daughter 2
Definition at line 80 of file EST_SCFG_Chart.h.