class_docstr: Iterate Example objects from a file or directory of jsonl
  formatted raw text files.
  
  path (Path): The directory or filename to read from.
  min_length (int): Minimum document length (in tokens). Shorter documents
      will be skipped. Defaults to 0, which indicates no limit.
  
  max_length (int): Maximum document length (in tokens). Longer documents will
      be skipped. Defaults to 0, which indicates no limit.
  limit (int): Limit corpus to a subset of examples, e.g. for debugging.
      Defaults to 0, which indicates no limit.
  
  DOCS: https://spacy.io/api/corpus#jsonlcorpus
docstr: Yield examples from the data.
  
  nlp (Language): The current nlp object.
  YIELDS (Example): The example objects.
  
  DOCS: https://spacy.io/api/corpus#jsonlcorpus-call
docstr_tok: ["Yield","examples","from","the","data",".","nlp","(","Language",")",":","The","current","nlp","object",".","YIELDS","(","Example",")",":","The","example","objects",".","DOCS",":","https",":","\/\/spacy.io\/api\/corpus","#","jsonlcorpus-call"]
code: def __call__(self, nlp: "Language") -> Iterator[Example]:
      """Yield examples from the data.
  
      nlp (Language): The current nlp object.
      YIELDS (Example): The example objects.
  
      DOCS: https://spacy.io/api/corpus#jsonlcorpus-call
      """
      for loc in walk_corpus(self.path, ".jsonl"):
          records = srsly.read_jsonl(loc)
          for record in records:
              doc = nlp.make_doc(record["text"])
              if self.min_length >= 1 and len(doc) < self.min_length:
                  continue
              elif self.max_length >= 1 and len(doc) >= self.max_length:
                  continue
              else:
                  words = [w.text for w in doc]
                  spaces = [bool(w.whitespace_) for w in doc]
                  # We don't *need* an example here, but it seems nice to
                  # make it match the Corpus signature.
                  yield Example(
                      doc, Doc(nlp.vocab, words=words, spaces=spaces)
                  )
  
imports: import random
  import warnings
  from pathlib import Path
  from typing import TYPE_CHECKING, Callable, Iterable, Iterator, List, Optional, Union
  import srsly
  from ..None import util
  from ..errors import Errors, Warnings
  from ..tokens import Doc, DocBin
  from ..vocab import Vocab
  from .augment import dont_augment
  from .example import Example
label_desc: Use image node_id 2 for calling the JsonlCorpus obj's underlying member method code with example usage: obj.__call__(nlp) without return types