File size: 346 Bytes
9064e7f |
1 2 3 4 5 6 7 8 9 |
# from datasets import load_dataset
# dataset = load_dataset('vukuzenzele-sentence-aligned.py', 'aligned-afr-eng.jsonl')
from itertools import combinations
from pprint import pprint
LANGUAGES = ['afr', 'eng', 'nbl', 'nso', 'sot', 'ssw', 'tsn', 'tso', 'ven', 'xho', 'zul']
LANGUAGE_PAIRS = list(combinations(LANGUAGES, 2))
pprint(LANGUAGE_PAIRS) |