mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-24 10:22:50 -06:00
revert to using unconditional probabilities in the different lookup functions
This commit is contained in:
@@ -115,7 +115,8 @@ pgf_morpho_iter(PgfProductionIdx* idx,
|
|||||||
PgfCId lemma = entry->papp->fun->absfun->name;
|
PgfCId lemma = entry->papp->fun->absfun->name;
|
||||||
GuString analysis = entry->ccat->cnccat->labels[entry->lin_idx];
|
GuString analysis = entry->ccat->cnccat->labels[entry->lin_idx];
|
||||||
|
|
||||||
prob_t prob = entry->papp->fun->absfun->ep.prob;
|
prob_t prob = entry->ccat->cnccat->abscat->prob +
|
||||||
|
entry->papp->fun->absfun->ep.prob;
|
||||||
callback->callback(callback,
|
callback->callback(callback,
|
||||||
lemma, analysis, prob, err);
|
lemma, analysis, prob, err);
|
||||||
if (!gu_ok(err))
|
if (!gu_ok(err))
|
||||||
|
|||||||
Reference in New Issue
Block a user