def __init__(self, num_threads=1):
    self.num_threads = min(num_threads, int((multiprocessing.cpu_count() / 2)))
    '\n       S- ar putea să fie necesar să- l recitiţi.\n       '
    self.r1 = re.compile('([\\w]+-)[\\s]([\\w]+)', re.IGNORECASE)
    '\n       {LL/ AAAA}\n       Humalog Mix50 100 U/ ml\n       '
    self.r2 = re.compile('([\\w]+/)\\s([\\w]+)', re.IGNORECASE)
    "\n       All unicode dashes to normal '-', see https://www.fileformat.info/info/unicode/category/Pd/list.htm\n       includes bull : • •\n       "
    self.r3 = re.compile('([■\\u2022\\u007E\\u00AD\\u058A\\u05BE\\u1400\\u1806\\u2010\\u2011\\u2012\\u2013\\u2014\\u2015\\u2053\\u207B\\u208B\\u2212\\u2E17\\u2E3A\\u2E3B\\u301C\\u3030\\u30A0\\uFE31\\uFE32\\uFE63\\uFF0D]+)', re.UNICODE)
    '\n       spaces after comma in numbers: 1, 4% -> 1,4%\n       '
    self.r4 = re.compile('([\\d]+,)\\s([\\d]+)', re.IGNORECASE)
    '\n       soft hyphens #\xad\n       '
    self.r5 = re.compile('[\\u00AD]')
    '\n       remove URLS\n       '
    self.r6 = re.compile('(?:www|http)\\S+|<\\S+|\\w+\\/*>')
    '\n       remove emails\n       '
    self.r7 = re.compile('([^@]+@[^@]+\\.[^@]+)')
    '\n       table separators\n       '
    self.r8 = re.compile('[\\─\\─]+')
    self.r9 = re.compile('[\\-\\-]+')
    '\n       multiple spaces\n       '
    self.space = re.compile(' +')
    '\n       forbiden chars that cause a lot of bad sentences\n       '
    self.forbidden_chars = 'ºþÈ™ÓÑÄÈÃ®ƒ'
def __init__(self, num_threads=1):
    self.num_threads = min(num_threads, int((multiprocessing.cpu_count() / 2)))
    '\n       S- ar putea să fie necesar să- l recitiţi.\n       '
    self.r1 = re.compile('([\\w]+-)[\\s]([\\w]+)', re.IGNORECASE)
    '\n       {LL/ AAAA}\n       Humalog Mix50 100 U/ ml\n       '
    self.r2 = re.compile('([\\w]+/)\\s([\\w]+)', re.IGNORECASE)
    "\n       All unicode dashes to normal '-', see https://www.fileformat.info/info/unicode/category/Pd/list.htm\n       includes bull : • •\n       "
    self.r3 = re.compile('([■\\u2022\\u007E\\u00AD\\u058A\\u05BE\\u1400\\u1806\\u2010\\u2011\\u2012\\u2013\\u2014\\u2015\\u2053\\u207B\\u208B\\u2212\\u2E17\\u2E3A\\u2E3B\\u301C\\u3030\\u30A0\\uFE31\\uFE32\\uFE63\\uFF0D]+)', re.UNICODE)
    '\n       spaces after comma in numbers: 1, 4% -> 1,4%\n       '
    self.r4 = re.compile('([\\d]+,)\\s([\\d]+)', re.IGNORECASE)
    '\n       soft hyphens #\xad\n       '
    self.r5 = re.compile('[\\u00AD]')
    '\n       remove URLS\n       '
    self.r6 = re.compile('(?:www|http)\\S+|<\\S+|\\w+\\/*>')
    '\n       remove emails\n       '
    self.r7 = re.compile('([^@]+@[^@]+\\.[^@]+)')
    '\n       table separators\n       '
    self.r8 = re.compile('[\\─\\─]+')
    self.r9 = re.compile('[\\-\\-]+')
    '\n       multiple spaces\n       '
    self.space = re.compile(' +')
    '\n       forbiden chars that cause a lot of bad sentences\n       '
    self.forbidden_chars = 'ºþÈ™ÓÑÄÈÃ®ƒ'