(self)
| 779 | return sorted(a)[0][-1] |
| 780 | |
| 781 | def _variations(self): |
| 782 | v = variations(self.sequence, optional=lambda constraint: constraint.optional) |
| 783 | v = sorted(v, key=len, reverse=True) |
| 784 | return v |
| 785 | |
| 786 | def _match(self, sequence, sentence, start=0, i=0, w0=None, map=None, d=0): |
| 787 | # Backtracking tree search. |
no test coverage detected