Data Structures | |
| struct | ParsingChartInitConfig |
| Parsing chart initialization configuration. More... | |
Functions | |
| ParsingChart * | lexicalizeToChart (const char *sentence, const Grammar *grammar, const Weight max_cost_per_word, int(*is_delimiter)(int), int(*is_space)(int), int(*is_never_delimiter)(int), int(*useless)(int)) |
| ParsingChart * | tokenizeToChart (const char *sentence, const Grammar *grammar, const Weight useless1, int(*useless2)(int), int(*is_space)(int), int(*is_never_delimiter)(int), int(*is_sticky)(int)) |
Variables | |
| const ParsingChartInitConfig | DEFAULT_PARSINGCHART_INIT_CONFIG |
| Default parsing chart initialization configuration used by the parser. | |
| const ParsingChartInitConfig | DEFAULT_PARSINGCHART_INIT_CONFIG |
| Default parsing chart initialization configuration used by the parser. | |
SlpTK Library 0.6.0
<parsingchartinit.h> Antonin Merçay (revision on 26.01.2005)
| ParsingChart * lexicalizeToChart | ( | const char * | sentence, | |
| const Grammar * | grammar, | |||
| const Weight | max_cost_per_word, | |||
| int(*)(int) | is_delimiter, | |||
| int(*)(int) | is_space, | |||
| int(*)(int) | is_never_delimiter, | |||
| int(*)(int) | useless | |||
| ) |
Tokenize a sentence and output the results in a parsing chart in such a way that parsing algorithms can be applied on it
| [in] | sentence | The input sentence |
| [in] | grammar | The associated grammar |
| [in] | max_cost_per_word | The maximum lexical correction cost allowed per each word |
| [in] | is_delimiter | The function that defines if a character is a delimiter |
| [in] | is_space | The function that defines if a character is a space |
| [in] | is_never_delimiter | The function that defines if a character is never delimiter |
| useless | Not used |
Lexicalise | ParsingChart ** tokenizeToChart | ( | const char * | sentence, | |
| const Grammar * | grammar, | |||
| const Weight | useless1, | |||
| int(*)(int) | useless2, | |||
| int(*)(int) | is_space, | |||
| int(*)(int) | is_never_delimiter, | |||
| int(*)(int) | is_sticky | |||
| ) |
Tokenize a sentence and output the results in a parsing chart in such a way that parsing algorithms can be applied on it
| [in] | sentence | The input sentence |
| [in] | grammar | The associated grammar |
| [in] | useless1 | Not used |
| [in] | useless2 | Not used |
| [in] | is_space | The function that defines if a character is space |
| [in] | is_never_delimiter | The function that defines if a character is never a delimiter |
| [in] | is_sticky | The function that defines if a character is sticky |
Decoupe_Simple
1.4.7