Make word_chars configurable