Merge pull request #10 from chrox/master

fix ocr language check
Merge pull request #11 from chrox/master

remove excessive top margin in reflowed page
add auto detection of word spacing