docs: def positions(self, word):
          """
          Returns a list of positions where the word can be hyphenated.
          See also Hyph_dict.positions. The points that are too far to
          the left or right are removed.
          """
          right = len(word) - self.right
          return [i for i in self.hd.positions(word) if self.left <= i <= right]