Merge pull request #5 from rbart/fields

Improve preprocessing pipeline, add tracking of character offsets.
Merge branch 'master' into extraction