Improved DocumentValidation.addWord