Text this: Artificial intelligence assessment of endoscopic severity and extent