summaryrefslogtreecommitdiff
path: root/python/cdec/sa/rulefactory.pxi
diff options
context:
space:
mode:
authorChris Dyer <redpony@gmail.com>2014-02-27 19:45:14 -0500
committerChris Dyer <redpony@gmail.com>2014-02-27 19:45:14 -0500
commit5675965782e2c9201a7a2fe54b542f5b06d660ef (patch)
tree2fefaf95c72f2caa72185e4579ad3b715e1cc5c4 /python/cdec/sa/rulefactory.pxi
parented56625e5edeadbe9297680b07e269c42b7ea420 (diff)
parent53f4328e5e5cc72c6d483783edb85ba16b414caf (diff)
Merge branch 'master' of https://github.com/redpony/cdec
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: