summaryrefslogtreecommitdiff
path: root/python/src/sa/rule.pxi
diff options
context:
space:
mode:
authorPaul Baltescu <pauldb89@gmail.com>2013-06-19 15:06:34 +0100
committerPaul Baltescu <pauldb89@gmail.com>2013-06-19 15:06:34 +0100
commit459775095b46b4625ce26ea5a34001ec74ab3aa8 (patch)
tree844d1a650a302114ae619d37b8778ab66207a834 /python/src/sa/rule.pxi
parent02099a01350a41a99ec400e9b29df08a01d88979 (diff)
parent0dc7755f7fb1ef15db5a60c70866aa61b6367898 (diff)
Merge branch 'master' of https://github.com/redpony/cdec
Diffstat (limited to 'python/src/sa/rule.pxi')
-rw-r--r--python/src/sa/rule.pxi2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/src/sa/rule.pxi b/python/src/sa/rule.pxi
index 98fbac76..4f0ea74f 100644
--- a/python/src/sa/rule.pxi
+++ b/python/src/sa/rule.pxi
@@ -189,4 +189,4 @@ cdef class Rule:
def alignments(self):
for point in self.word_alignments:
- yield point/65536, point%65536
+ yield point / ALIGNMENT_CODE, point % ALIGNMENT_CODE