summaryrefslogtreecommitdiff
path: root/python/src/sa/rulefactory.pxi
diff options
context:
space:
mode:
authorAdam Lopez <alopez@cs.jhu.edu>2012-09-05 11:49:33 -0400
committerAdam Lopez <alopez@cs.jhu.edu>2012-09-05 11:49:33 -0400
commitc6b35eff2537f0b07ceb9aca499e8f76b3d33710 (patch)
tree908ec1e4dfa61327248f21beaa36d2bf82448d43 /python/src/sa/rulefactory.pxi
parent90ea67a64e94d2e7464bcd9c5b908c09e2271fdc (diff)
Fix bug in initialization of FeatureContext.input_span
Diffstat (limited to 'python/src/sa/rulefactory.pxi')
-rw-r--r--python/src/sa/rulefactory.pxi2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/src/sa/rulefactory.pxi b/python/src/sa/rulefactory.pxi
index 287b9a67..54471ccd 100644
--- a/python/src/sa/rulefactory.pxi
+++ b/python/src/sa/rulefactory.pxi
@@ -1103,7 +1103,7 @@ cdef class HieroCachingRuleFactory:
count = len(locs)
scores = self.scorer.score(FeatureContext(
f, e, count, fcount[f], num_samples,
- (i,k), locs, fwords
+ (k,i), locs, fwords
))
yield Rule(self.category, f, e, scores, alignment)