class_docstr: Read documents recursively from a directory.
  Each file/line (depends on `lines_are_documents`) is interpreted as a plain text document.
class_docstr_tok: ["Read","documents","recursively","from","a","directory",".","Each","file\/line","(","depends","on","`","lines_are_documents","`",")","is","interpreted","as","a","plain","text","document","."]
code: def pattern(self):
      return self._pattern
  
imports: from __future__ import with_statement
  import logging
  import os
  import random
  import re
  import sys
  from gensim import interfaces, utils
  from gensim.corpora.dictionary import Dictionary
  from gensim.parsing.preprocessing import remove_stopword_tokens, remove_short_tokens, lower_to_unicode, strip_multiple_whitespaces
  from gensim.utils import deaccent, simple_tokenize
  from smart_open import open
label_desc: Use image node_id 4 for calling the TextDirectoryCorpus obj's underlying member method code with example usage: obj.pattern() and returns: self