diff options
Diffstat (limited to 'src/runtime/c/pgf/pgf.h')
| -rw-r--r-- | src/runtime/c/pgf/pgf.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/runtime/c/pgf/pgf.h b/src/runtime/c/pgf/pgf.h index 40ae1ca45..51998c7b8 100644 --- a/src/runtime/c/pgf/pgf.h +++ b/src/runtime/c/pgf/pgf.h @@ -126,7 +126,7 @@ pgf_parse(PgfConcr* concr, PgfCId cat, PgfLexer *lexer, typedef struct PgfMorphoCallback PgfMorphoCallback; struct PgfMorphoCallback { - void (*callback)(PgfMorphoCallback* self, PgfTokens tokens, + void (*callback)(PgfMorphoCallback* self, PgfCId lemma, GuString analysis, prob_t prob, GuExn* err); }; @@ -135,6 +135,18 @@ void pgf_lookup_morpho(PgfConcr *concr, PgfLexer *lexer, PgfMorphoCallback* callback, GuExn* err); +typedef GuMapKeyValue PgfFullFormEntry; + +GuEnum* +pgf_fullform_lexicon(PgfConcr *concr, GuPool* pool); + +GuString +pgf_fullform_get_string(PgfFullFormEntry* entry); + +void +pgf_fullform_get_analyses(PgfFullFormEntry* entry, + PgfMorphoCallback* callback, GuExn* err); + PgfExprEnum* pgf_parse_with_heuristics(PgfConcr* concr, PgfCId cat, PgfLexer *lexer, double heuristics, |
