Data constraints for word inputs