Functions | |
| void | parsingChartDisplayParsing (const ParsingChart *chart, int(*print)(const char *,...), const gboolean only_top_nt) |
| void | parsingChartDisplayForestFromElement (const ParsingChart *chart, const unsigned int row, const unsigned int column, int(*print)(const char *,...), const gboolean only_top_nt) |
| void | parsingChartDumpCNF (const ParsingChart *chart, int(*print)(const char *,...)) |
| void | parsingChartDumpCFG (const ParsingChart *chart, int(*print)(const char *,...)) |
| void | parsingChartDumpNbItems (const ParsingChart *chart, int(*print)(const char *,...)) |
| void | parsingChartDisplayCellStat (const ParsingChart *chart, const unsigned int row, const unsigned int column, int(*print)(const char *,...), const gboolean only_top_nt) |
| void | parsingChartDisplayCoverage (const ParsingChart *chart, int(*print)(const char *,...), const gboolean details) |
| void | parsingChartDump (const ParsingChart *chart, int(*print)(const char *,...), const gboolean show_prefix_item_list) |
| void | parsingChartDumpSpellCorrection (const ParsingChart *chart) |
SlpTK Library 0.6.0
<chartdisplay.h> Antonin Merçay (revision on 25.01.2005)
| void parsingChartDisplayCellStat | ( | const ParsingChart * | chart, | |
| const unsigned int | row, | |||
| const unsigned int | column, | |||
| int(*)(const char *,...) | print, | |||
| const gboolean | only_top_nt | |||
| ) |
Display the statistics about the non-terminal stored by a particular parsing chart cell, i.e. the total number of interpretations, the maximal and total probabilities, etc ...
| [in] | chart | The parsing chart to consider |
| [in] | row | The index of the line of the chart (from 1 to size) |
| [in] | column | The index of the column of the chart (from 1 to size - row + 1) |
| [in] | The print function | |
| [in] | only_top_nt | A flag the set if we consider all derivations (FALSE), or only the derivations from the top level non-terminal (TRUE) |
Affiche_Stat_Case_Cyk | void parsingChartDisplayCoverage | ( | const ParsingChart * | chart, | |
| int(*)(const char *,...) | print, | |||
| const gboolean | details | |||
| ) |
Display the coverage of a parsing chart, i.e. the number of top level non- terminal interpretations, the total number of interpretations, the number of interpretations in the higher not empty line, the height of this line, the number of lines of the chart
| [in] | chart | The parsing chart to consider |
| [in] | The print function | |
| [in] | details | A flag that set if the details of each treated chart cells must be displayed too |
Affiche_Couverture_Cyk | void parsingChartDisplayForestFromElement | ( | const ParsingChart * | chart, | |
| const unsigned int | row, | |||
| const unsigned int | column, | |||
| int(*)(const char *,...) | print, | |||
| const gboolean | only_top_nt | |||
| ) |
Display all the grammatical analysis available from a given parsing chart cell and where each solutions are dumped as a syntactical condensed tree.
| [in] | chart | The parsing chart to consider |
| [in] | row | The parsing chart row (from 1 to size) |
| [in] | column | The parsing chart column (from 1 to size - row + 1) |
| [in] | The printing function | |
| [in] | only_top_nt | A flag the set if we consider all derivations (FALSE), or only the derivations from the top level non-terminal (TRUE) |
Affiche_Arbre_Case_Cyk | void parsingChartDisplayParsing | ( | const ParsingChart * | chart, | |
| int(*)(const char *,...) | print, | |||
| const gboolean | only_top_nt | |||
| ) |
Display all the complete grammatical analysis stored in a parsing chart where each solutions are dumped as a syntactical condensed tree.
| [in] | chart | The parsing chart to display |
| [in] | The printing function | |
| [in] | only_top_nt | A flag the set if we consider all derivations (FALSE), or only the derivations from the top level non-terminal (TRUE) |
Affiche_Resultat_Analyse_Syntaxique & Affiche_Arbre_Table_Cyk | void parsingChartDump | ( | const ParsingChart * | chart, | |
| int(*)(const char *,...) | print, | |||
| const gboolean | show_prefix_item_list | |||
| ) |
Dump the content of a parsing chart in a raw format
| [in] | chart | The parsing chart to consider |
| [in] | The print function | |
| [in] | show_prefix_item_list | A flag indicating if prefix item list must be also dumped |
Dump_Table_CYK | void parsingChartDumpCFG | ( | const ParsingChart * | chart, | |
| int(*)(const char *,...) | ||||
| ) |
Dump the the contents of the non-terminal item cells of a Context Free Grammar (CFG) based parsing chart
| [in] | chart | The parsing chart to consider |
| [in] | The print function |
Dump_CFG | void parsingChartDumpCNF | ( | const ParsingChart * | chart, | |
| int(*)(const char *,...) | ||||
| ) |
Dump the the contents of the non-terminal item cells of a Chomsky Normal Form (CNF) grammar based parsing chart
| [in] | chart | The parsing chart to consider |
| [in] | The print function |
Dump_CNF | void parsingChartDumpNbItems | ( | const ParsingChart * | chart, | |
| int(*)(const char *,...) | ||||
| ) |
Display the size a parsing chart (the number of row and column), and the number of non-terminal items and prefix items for each chart cell
| [in] | chart | The parsing chart to consider |
| [in] | The print function |
Dump_nb_L1_L2 | void parsingChartDumpSpellCorrection | ( | const ParsingChart * | chart | ) |
Dump the content of a parsing chart resulting from a lexical correction
| [in] | chart | The considered parsing chart |
Affiche_Correction_Table_CYK_Ancree (Christophe de Benoit’s project)
1.4.7