Text processing for ERS