make the merge_words more configurable