Are EgivenF and CoherenceProb substituted by EgivenFCoherence in featuer extraction?

26 views
Skip to first unread message

Huiying Li

unread,
May 3, 2014, 8:50:38 PM5/3/14
to cdec-...@googlegroups.com
Was curious why there is no p(e|f) in the extracted grammar file. Have this guess after read features.py. Anyone confirm?

Thanks!
Huiying

Chris Dyer

unread,
May 3, 2014, 8:56:56 PM5/3/14
to <cdec-users@googlegroups.com>, Huiying Li
There should be a p(e | f), but not a p(f | e)- this is because the
way the corpus is indexed, it is hard to compute the marginal counts
of each e, but doing so for f is easy.
> --
> You received this message because you are subscribed to the Google Groups
> "cdec users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cdec-users+...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Huiying Li

unread,
May 6, 2014, 12:08:17 AM5/6/14
to cdec-...@googlegroups.com, Huiying Li, cd...@cs.cmu.edu

Thanks Chris.
Yeah there is a p(e|f), but the feature actually being used (imported to scorer) is named EgivenFCoherence, where the denominator is sample count (f) instead of count (f).
So I was a bit confused.
Reply all
Reply to author
Forward
0 new messages