lib/rtesseract/tsv.rb in rtesseract-3.0.2 vs lib/rtesseract/tsv.rb in rtesseract-3.0.3

- old
+ new

@@ -1,13 +1,13 @@ class RTesseract module Tsv extend Base - def self.run(source, options) + def self.run(source, errors, options) options.tessedit_create_tsv = 1 - RTesseract::Command.new(source, temp_file, options).run + RTesseract::Command.new(source, temp_file, errors, options).run File.open(temp_file('.tsv'), 'r') end end -end \ No newline at end of file +end