def skip_word(self, word: str) -> bool:
    return self.match(re.compile(('\\b%s\\b' % re.escape(word))))
def skip_word(self, word: str) -> bool:
    return self.match(re.compile(('\\b%s\\b' % re.escape(word))))