changes to stemmer and document parser