added settings to compound word token filter

Added some settings to compound word token filter as requested in #745.