diff options
author | Adam Lopez <alopez@cs.jhu.edu> | 2012-09-05 12:23:06 -0400 |
---|---|---|
committer | Adam Lopez <alopez@cs.jhu.edu> | 2012-09-05 12:23:06 -0400 |
commit | 01c4ae15be864f503cd12660920b74bc844f88be (patch) | |
tree | 7f9dd42813168ab5035d5f29ab45022b45b0265c /python/src/sa/rulefactory.pxi | |
parent | c6b35eff2537f0b07ceb9aca499e8f76b3d33710 (diff) |
Change FeatureContext.input_span to return slice indices
Diffstat (limited to 'python/src/sa/rulefactory.pxi')
-rw-r--r-- | python/src/sa/rulefactory.pxi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/src/sa/rulefactory.pxi b/python/src/sa/rulefactory.pxi index 54471ccd..a123e85f 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, - (k,i), locs, fwords + (k,i+spanlen), locs, fwords )) yield Rule(self.category, f, e, scores, alignment) |