summaryrefslogtreecommitdiff
path: root/python/cdec/sa/rulefactory.pxi
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2014-02-28 14:09:55 +0100
committerPatrick Simianer <p@simianer.de>2014-02-28 14:09:55 +0100
commit1abb6039dc6f86f930f9cb1ace048cb0fbf16b0b (patch)
treeb396b79a1cba971ede206ef7e0054573fc050455 /python/cdec/sa/rulefactory.pxi
parentbb5b6464826c765f4795381830acae158987f46b (diff)
parent324a978e7d766a3864e42efc0938fb6c9ef5a01c (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'python/cdec/sa/rulefactory.pxi')
-rw-r--r--python/cdec/sa/rulefactory.pxi1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/cdec/sa/rulefactory.pxi b/python/cdec/sa/rulefactory.pxi
index 2be5cad6..78a23196 100644
--- a/python/cdec/sa/rulefactory.pxi
+++ b/python/cdec/sa/rulefactory.pxi
@@ -2052,6 +2052,7 @@ cdef class HieroCachingRuleFactory:
stats.phrases_al[f_ph][e_ph] = al
# Update Bilexical counts
+ # TODO: use alignments instead of cooc
for e_w in e_words:
stats.bilex_e[e_w] += 1
for f_w in f_words: