@classmethod
def from_unmatched(cls, unmatched):
    """Construct a `MatchResult` from just unmatched segments."""
    return cls(matched_segments=(), unmatched_segments=cls.seg_to_tuple(
        unmatched))
