class_docstr: The Lemmatizer supports simple part-of-speech-sensitive suffix rules and
  lookup tables.
  
  DOCS: https://spacy.io/api/lemmatizer
docstr: Serialize the pipe to disk.
  
  path (str / Path): Path to a directory.
  exclude (Iterable[str]): String names of serialization fields to exclude.
  
  DOCS: https://spacy.io/api/lemmatizer#to_disk
docstr_tok: ["Serialize","the","pipe","to","disk",".","path","(","str","\/","Path",")",":","Path","to","a","directory",".","exclude","(","Iterable","[","str","]",")",":","String","names","of","serialization","fields","to","exclude",".","DOCS",":","https",":","\/\/spacy.io\/api\/lemmatizer","#","to_disk"]
code: def to_disk(
      self,
      path: Union[str, Path],
      *,
      exclude: Iterable[str] = SimpleFrozenList(),
  ):
      """Serialize the pipe to disk.
  
      path (str / Path): Path to a directory.
      exclude (Iterable[str]): String names of serialization fields to exclude.
  
      DOCS: https://spacy.io/api/lemmatizer#to_disk
      """
      serialize = {}
      serialize["vocab"] = lambda p: self.vocab.to_disk(
          p, exclude=exclude
      )
      serialize["lookups"] = lambda p: self.lookups.to_disk(p)
      util.to_disk(path, serialize, exclude)
  
imports: import warnings
  from pathlib import Path
  from typing import Any, Callable, Dict, Iterable, List, Optional, Tuple, Union
  from thinc.api import Model
  from ..None import util
  from ..errors import Errors, Warnings
  from ..language import Language
  from ..lookups import Lookups, load_lookups
  from ..scorer import Scorer
  from ..tokens import Doc, Token
  from ..training import Example
  from ..util import SimpleFrozenList, logger, registry
  from ..vocab import Vocab
  from .pipe import Pipe
label_desc: Use image node_id 10 for calling the Lemmatizer obj's underlying member method code with example usage: obj.to_disk(path) without return types