import re


def _parse(data):

    """_parses data from PyWordnet to lists-in-lists.

    Human-readable strings from PyWordnet are
    converted to a list. This list contains lists.
    Each of these contains a series of words in the same "sense".
    Example: [["fly", "wing"], ["travel", "go", "move", "locomote"]]

   """

    if not isinstance(data, (list, tuple)):
        data = [data]
    return [
        [word.strip(" ") for word in m.split(",")]
            # Parse text between : and }
            for m in re.findall("\:(.*?)\}", str(data))
    ]