class_docstr: Source: https://opus.nlpl.eu/SETIMES.php
  
  References:
      J. Tiedemann, 2012, Parallel Data, Tools and Interfaces in OPUS.
      In Proceedings of the 8th International Conference on Language Resources and Evaluation (LREC 2012)
class_docstr_tok: ["Source",":","https",":","\/\/opus.nlpl.eu\/SETIMES.php","References",":","J.","Tiedemann",",","2012",",","Parallel","Data",",","Tools","and","Interfaces","in","OPUS",".","In","Proceedings","of","the","8th","International","Conference","on","Language","Resources","and","Evaluation","(","LREC","2012",")"]
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 SETimes object  with example: obj = SETimes(data_dir)