summaryrefslogtreecommitdiff
path: root/python/src/sa/rulefactory.pxi
diff options
context:
space:
mode:
Diffstat (limited to 'python/src/sa/rulefactory.pxi')
-rw-r--r--python/src/sa/rulefactory.pxi6
1 files changed, 6 insertions, 0 deletions
diff --git a/python/src/sa/rulefactory.pxi b/python/src/sa/rulefactory.pxi
index 5006a838..a0bda793 100644
--- a/python/src/sa/rulefactory.pxi
+++ b/python/src/sa/rulefactory.pxi
@@ -1798,3 +1798,9 @@ cdef class HieroCachingRuleFactory:
free(e_gap_high)
return extracts
+
+ def add_instance(self, f_words, e_words, alignment):
+ logger.info("I would add:")
+ logger.info(decode_words(f_words))
+ logger.info(decode_words(e_words))
+ logger.info(alignment) \ No newline at end of file