add auto detection of word spacing
Merge pull request #12 from chrox/master

add auto detection of word spacing