refactored reading word and chunking dictionary files