Output Keywords in Context in an HTML File with Python