Revert "Add Max word length feature"

This reverts commit 15be59ec7e7aaf95e0594809dbfe22ab0a478db3.
Revert "Revert "Add Max word length feature""

This reverts commit c21acebf23c94c1cea97f7afb540baabcfc0016a.