def constraint(self, word):
        if word.index in self._map1:
            return self._map1[word.index]
Returns the constraint that matches the given Word, or None.
dataset/ETHPy150Open clips/pattern/pattern/text/search.py/Match.constraint