deanmalmgren/textract — pull request #76 by anderser (2014-09-15 18:26:44+00:00)
Title: Added option to pass language parameter to tesseract for non-English OCR documents

Useful for extracting text from non-English documents. If keyword argument ‘language’ is specified to pdf parser, then the image parser uses this when triggering tesseract. Tesseract language data can be downloaded from here https://code.google.com/p/tesseract-ocr/downloads/list

Example use:
```
from textract.parsers.pdf_parser import Parser
norwegian_text = Parser().extract('scanned_nor.pdf', method='tesseract', language='nor')
```