mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-02 15:52:50 -06:00
started with lookupCohorts
This commit is contained in:
@@ -418,6 +418,18 @@ void pgf_lookup_morpho(PgfDB *db, PgfConcrRevision cnc_revision,
|
||||
PgfText *sentence,
|
||||
PgfMorphoCallback* callback, PgfExn* err);
|
||||
|
||||
typedef struct PgfCohortsCallback PgfCohortsCallback;
|
||||
struct PgfCohortsCallback {
|
||||
PgfMorphoCallback morpho;
|
||||
void (*fn)(PgfCohortsCallback* self, size_t start, size_t end,
|
||||
PgfExn* err);
|
||||
};
|
||||
|
||||
PGF_API_DECL
|
||||
void pgf_lookup_cohorts(PgfDB *db, PgfConcrRevision cnc_revision,
|
||||
PgfText *sentence,
|
||||
PgfCohortsCallback* callback, PgfExn* err);
|
||||
|
||||
PGF_API_DECL
|
||||
PgfPhrasetableIds *pgf_iter_sequences(PgfDB *db, PgfConcrRevision cnc_revision,
|
||||
PgfSequenceItor *itor,
|
||||
|
||||
Reference in New Issue
Block a user