diff options
Diffstat (limited to 'src/runtime/c/pgf/pgf.h')
| -rw-r--r-- | src/runtime/c/pgf/pgf.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/runtime/c/pgf/pgf.h b/src/runtime/c/pgf/pgf.h index e542e4213..e2fc6f74d 100644 --- a/src/runtime/c/pgf/pgf.h +++ b/src/runtime/c/pgf/pgf.h @@ -75,6 +75,16 @@ pgf_has_linearization(PgfConcr* concr, PgfCId id); void pgf_linearize(PgfConcr* concr, PgfExpr expr, GuOut* out, GuExn* err); +typedef struct { + GuString phrase; + size_t n_fids; + int fids[]; +} PgfAlignmentPhrase; + +GuSeq* +pgf_align_words(PgfConcr* concr, PgfExpr expr, + GuExn* err, GuPool* pool); + bool pgf_parseval(PgfConcr* concr, PgfExpr expr, PgfCId cat, double *precision, double *recall, double *exact); |
