pre-process text in snippet generator
Merge branch 'master' of git@github.com:ftes/de.uni-potsdam.hpi.ir.searchengine.git