class_docstr: The class to read the paraphraser.ru dataset from files.
  
  Please, see https://paraphraser.ru.
docstr: Read the paraphraser.ru dataset from files.
  
  Args:
      data_path: A path to a folder with dataset files.
      do_lower_case: Do you want to lowercase all texts
docstr_tok: ["Read","the","paraphraser.ru","dataset","from","files",".","Args",":","data_path",":","A","path","to","a","folder","with","dataset","files",".","do_lower_case",":","Do","you","want","to","lowercase","all","texts"]
code: def read(
      self, data_path: str, do_lower_case: bool = True, *args, **kwargs
  ) -> Dict[str, List[Tuple[Tuple[str, str], int]]]:
      """Read the paraphraser.ru dataset from files.
  
      Args:
          data_path: A path to a folder with dataset files.
          do_lower_case: Do you want to lowercase all texts
      """
  
      data_path = expand_path(data_path)
      train_fname = data_path / "paraphrases.xml"
      test_fname = data_path / "paraphrases_gold.xml"
  
      train_data = self._build_data(train_fname, do_lower_case)
      test_data = self._build_data(test_fname, do_lower_case)
      return {"train": train_data, "valid": [], "test": test_data}
  
file_path: DeepPavlov/deeppavlov/dataset_readers/paraphraser_reader.py
imports: import xml.etree.ElementTree
  from pathlib import Path
  from typing import Dict, List, Tuple
  from deeppavlov.core.commands.utils import expand_path
  from deeppavlov.core.common.registry import register
  from deeppavlov.core.data.dataset_reader import DatasetReader
label_desc: Use image node_id 1 for calling the ParaphraserReader obj's underlying member method code with example usage: obj.read(data_path, do_lower_case) and returns: dict