From b27a440ef32758df71639e29d81466f1afaf2c90 Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Tue, 12 Jun 2012 09:29:51 +0000 Subject: now the robust parser is purely top-down and the meta rules compete on a fair basis with the grammar rules --- src/runtime/c/utils/pgf-translate.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/runtime/c/utils') diff --git a/src/runtime/c/utils/pgf-translate.c b/src/runtime/c/utils/pgf-translate.c index aae09e70d..a740d3204 100644 --- a/src/runtime/c/utils/pgf-translate.c +++ b/src/runtime/c/utils/pgf-translate.c @@ -87,6 +87,12 @@ int main(int argc, char* argv[]) { goto fail_read; } + if (!pgf_load_meta_child_probs(pgf, "../../../examples/PennTreebank/test2.probs", pool)) { + fprintf(stderr, "Loading meta child probs failed\n"); + status = EXIT_FAILURE; + goto fail_read; + } + // Look up the source and destination concrete categories PgfConcr* from_concr = gu_map_get(pgf->concretes, &from_lang, PgfConcr*); -- cgit v1.2.3