From a6800fc0da1d90dad0362c806037f9a92ab3e813 Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Tue, 8 May 2012 12:13:28 +0000 Subject: a new unbiased statistical parser. it is still far from perfect use it on your own risk. --- src/runtime/c/pgf/printer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/runtime/c/pgf/printer.c') diff --git a/src/runtime/c/pgf/printer.c b/src/runtime/c/pgf/printer.c index 2b1729749..140688eb5 100644 --- a/src/runtime/c/pgf/printer.c +++ b/src/runtime/c/pgf/printer.c @@ -40,7 +40,7 @@ pgf_print_cat(GuMapItor* fn, const void* key, void* value, pgf_print_hypo(hypo, 4, wtr, err); } - gu_puts(" ;\n", wtr, err); + gu_printf(wtr, err, " ; -- %f\n",cat->meta_prob); } void @@ -56,7 +56,7 @@ pgf_print_absfun(GuMapItor* fn, const void* key, void* value, gu_string_write(name, wtr, err); gu_puts(" : ", wtr, err); pgf_print_type(fun->type, 0, wtr, err); - gu_puts(" ;\n", wtr, err); + gu_printf(wtr, err, " ; -- %f\n", fun->ep.prob); } static void pgf_print_abstract(PgfCId absname, PgfAbstr* abstr, -- cgit v1.2.3