Text processing example