Improve text canonicalization.