class_docstr: A `TransformBlock` for texts
class_docstr_tok: ["A","`","TransformBlock","`","for","texts"]
docstr: Build a `TextBlock` from a `path`
docstr_tok: ["Build","a","`","TextBlock","`","from","a","`","path","`"]
code: def from_folder(
      cls,
      path,
      vocab=None,
      is_lm=False,
      seq_len=72,
      backwards=False,
      min_freq=3,
      max_vocab=60000,
      **kwargs,
  ):
      "Build a `TextBlock` from a `path`"
      return cls(
          Tokenizer.from_folder(path, **kwargs),
          vocab=vocab,
          is_lm=is_lm,
          seq_len=seq_len,
          backwards=backwards,
          min_freq=min_freq,
          max_vocab=max_vocab,
      )
  
imports: from __future__ import annotations
  from ..torch_basics import *
  from ..data.all import *
  from .core import *
label_desc: Use image node_id 3 for calling the TextBlock obj's underlying member method code with example usage: obj.from_folder(cls, path, vocab, is_lm, seq_len, backwards, min_freq, max_vocab) and returns: cls