be more nuanced about digits when munging hocr