class_docstr: Source: https://opus.nlpl.eu/TED2020.php
  
  References:
      Reimers, Nils, and Iryna Gurevych. "Making monolingual sentence embeddings multilingual
      using knowledge distillation." arXiv preprint arXiv:2004.09813 (2020).
class_docstr_tok: ["Source",":","https",":","\/\/opus.nlpl.eu\/TED2020.php","References",":","Reimers",",","Nils",",","and","Iryna","Gurevych",".","``","Making","monolingual","sentence","embeddings","multilingual","using","knowledge","distillation",".","''","arXiv","preprint","arXiv:2004.09813","(","2020",")","."]
code: def __init__(self, data_dir: str | pathlib.Path):
      self.data_dir = textacy.utils.to_path(data_dir).resolve()
  
imports: from __future__ import annotations
  import logging
  import operator
  import pathlib
  import random
  import re
  from typing import Dict, Iterable, List, Optional, Set, Tuple
  from cytoolz import itertoolz
  import textacy
  import textacy.utils
  from textacy import io
label_desc: Use image node_id 1 to create a new Ted2020 object  with example: obj = Ted2020(data_dir)