diff options
Diffstat (limited to 'src/runtime/c/utils')
| -rw-r--r-- | src/runtime/c/utils/pgf-translate.c | 6 |
1 files changed, 6 insertions, 0 deletions
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*); |
