From c6b35eff2537f0b07ceb9aca499e8f76b3d33710 Mon Sep 17 00:00:00 2001 From: Adam Lopez Date: Wed, 5 Sep 2012 11:49:33 -0400 Subject: Fix bug in initialization of FeatureContext.input_span --- python/src/sa/rulefactory.pxi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/src/sa/rulefactory.pxi') 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) -- cgit v1.2.3