BE: Add basic functions for text cleaning.