add -L parameter to allow language combinations bypass the language availability check
tesseract allows to give several languages at once, e.g. "deu+eng". Unfortunately that is prevented by the language availability check in pdfocr.rb. Rather than extend that part with my limited Ruby knowledge, I added a seperate -L parameter that is simply passed on without checking. Since I only use this in scripting, I don't really need the extra safety there. What do you think?
add -L parameter to allow language combinations bypass the language availability check
tesseract allows to give several languages at once, e.g. "deu+eng". Unfortunately that is prevented by the language availability check in pdfocr.rb. Rather than extend that part with my limited Ruby knowledge, I added a seperate -L parameter that is simply passed on without checking. Since I only use this in scripting, I don't really need the extra safety there. What do you think?