class_docstr: Implementation of :class:`~deeppavlov.dataset_readers.typos_reader.TyposCustom` that works with
  a Russian misspellings dataset from `kartaslov <https://github.com/dkulagin/kartaslov>`_
class_docstr_tok: ["Implementation","of",":","class",":","`","~deeppavlov.dataset_readers.typos_reader.TyposCustom","`","that","works","with","a","Russian","misspellings","dataset","from","`","kartaslov","<","https",":","\/\/github.com\/dkulagin\/kartaslov",">","`","_"]
docstr: Download misspellings list from `github <https://raw.githubusercontent.com/dkulagin/kartaslov/master/dataset/orfo_and_typos/orfo_and_typos.L1_5.csv>`_
  
  Args:
      data_path: target directory to download the data to
  
  Returns:
      path to the resulting csv-file
docstr_tok: ["Download","misspellings","list","from","`","github","<","https",":","\/\/raw.githubusercontent.com\/dkulagin\/kartaslov\/master\/dataset\/orfo_and_typos\/orfo_and_typos.L1_5.csv",">","`","_","Args",":","data_path",":","target","directory","to","download","the","data","to","Returns",":","path","to","the","resulting","csv-file"]
code: def build(data_path: str) -> Path:
      """Download misspellings list from `github <https://raw.githubusercontent.com/dkulagin/kartaslov/master/dataset/orfo_and_typos/orfo_and_typos.L1_5.csv>`_
  
      Args:
          data_path: target directory to download the data to
  
      Returns:
          path to the resulting csv-file
      """
      data_path = Path(data_path) / "kartaslov"
  
      fname = data_path / "orfo_and_typos.L1_5.csv"
  
      if not is_done(data_path):
          url = "https://raw.githubusercontent.com/dkulagin/kartaslov/master/dataset/orfo_and_typos/orfo_and_typos.L1_5.csv"
  
          download(fname, url)
  
          mark_done(data_path)
  
          log.info("Built")
      return fname
  
imports: import csv
  from logging import getLogger
  from pathlib import Path
  from typing import Dict, List, Tuple
  import requests
  from lxml import html
  from deeppavlov.core.common.registry import register
  from deeppavlov.core.data.dataset_reader import DatasetReader
  from deeppavlov.core.data.utils import is_done, download, mark_done
label_desc: Use image node_id 2 for calling the TyposKartaslov obj's underlying member method code with example usage: obj.build(data_path) and returns: fname