def setup_data(self, path):
    '\n        Adds additional perspectives. For example, in the conversation:\n\n        x1 y1\n        x2 y2\n        x3\n\n        Creates the additional dialog:\n\n        y1 x2\n        y2 x3\n        '
    alternate = []
    for (entry, new) in super().setup_data(path):
        if new:
            for (i, e) in enumerate(self._rebuild(alternate)):
                if self._is_valid(e):
                    (yield (e, (i == 0)))
            alternate.clear()
        alternate.append(entry)
        if self._is_valid(entry):
            (yield (entry, new))
    if alternate:
        for (i, e) in enumerate(self._rebuild(alternate)):
            if self._is_valid(e):
                (yield (e, (i == 0)))
Adds additional perspectives. For example, in the conversation:

x1 y1
x2 y2
x3

Creates the additional dialog:

y1 x2
y2 x3
def setup_data(self, path):
    '\n        Adds additional perspectives. For example, in the conversation:\n\n        x1 y1\n        x2 y2\n        x3\n\n        Creates the additional dialog:\n\n        y1 x2\n        y2 x3\n        '
    alternate = []
    for (entry, new) in super().setup_data(path):
        if new:
            for (i, e) in enumerate(self._rebuild(alternate)):
                if self._is_valid(e):
                    (yield (e, (i == 0)))
            alternate.clear()
        alternate.append(entry)
        if self._is_valid(entry):
            (yield (entry, new))
    if alternate:
        for (i, e) in enumerate(self._rebuild(alternate)):
            if self._is_valid(e):
                (yield (e, (i == 0)))