Let's try again after https://github.com/openpaperwork/pyocr/pull/100 did not quite work. This should fix #99 (closed).
We now
- use the psm parameter based on the tesseract version
- only import the psm_parameter function in builders.py when it is needed; this avoids circular import issues between builders.py and tesseract.py. This is not great, but the best/simplest solution I could come up with.
Thanks!