class_docstr: NLP class for default processing.
class_docstr_tok: ["NLP","class","for","default","processing","."]
docstr: The primary method for the NLP object, to which raw text strings are passed.
  
  Args:
      text: Input text string.
  
  Returns:
      CLTK ``Doc`` containing all processed information.
  
  >>> from cltk.languages.example_texts import get_example_text
  >>> from cltk.core.data_types import Doc
  >>> cltk_nlp = NLP(language="lat", suppress_banner=True)
  >>> cltk_doc = cltk_nlp.analyze(text=get_example_text("lat"))
  >>> isinstance(cltk_doc, Doc)
  True
  >>> cltk_doc.words[0].string
  'Gallia'
docstr_tok: ["The","primary","method","for","the","NLP","object",",","to","which","raw","text","strings","are","passed",".","Args",":","text",":","Input","text","string",".","Returns",":","CLTK","``","Doc","``","containing","all","processed","information",".",">",">",">","from","cltk.languages.example_texts","import","get_example_text",">",">",">","from","cltk.core.data_types","import","Doc",">",">",">","cltk_nlp","=","NLP","(","language=","''","lat","''",",","suppress_banner=True",")",">",">",">","cltk_doc","=","cltk_nlp.analyze","(","text=get_example_text","(","``","lat","''",")",")",">",">",">","isinstance","(","cltk_doc",",","Doc",")","True",">",">",">","cltk_doc.words","[","0","]",".string","'Gallia","'"]
code: def analyze(self, text: str) -> Doc:
      """The primary method for the NLP object, to which raw text strings are passed.
  
      Args:
          text: Input text string.
  
      Returns:
          CLTK ``Doc`` containing all processed information.
  
      >>> from cltk.languages.example_texts import get_example_text
      >>> from cltk.core.data_types import Doc
      >>> cltk_nlp = NLP(language="lat", suppress_banner=True)
      >>> cltk_doc = cltk_nlp.analyze(text=get_example_text("lat"))
      >>> isinstance(cltk_doc, Doc)
      True
      >>> cltk_doc.words[0].string
      'Gallia'
      """
      doc = Doc(language=self.language.iso_639_3_code, raw=text)
      for process in self.pipeline.processes:
          a_process = self._get_process_object(process)
          doc = a_process.run(doc)
      return doc
  
file_path: cltk/src/cltk/nlp.py
imports: from threading import Lock
  from typing import List, Type
  import cltk
  from cltk.core.data_types import Doc, Language, Pipeline, Process
  from cltk.core.exceptions import UnimplementedAlgorithmError
  from cltk.languages.pipelines import AkkadianPipeline, ArabicPipeline, AramaicPipeline, ChinesePipeline, CopticPipeline, GothicPipeline, GreekPipeline, HindiPipeline, LatinPipeline, MiddleEnglishPipeline, MiddleFrenchPipeline, MiddleHighGermanPipeline, OCSPipeline, OldEnglishPipeline, OldFrenchPipeline, OldNorsePipeline, PaliPipeline, PanjabiPipeline, SanskritPipeline
  from cltk.languages.utils import get_lang
label_desc: Use image node_id 7 for calling the NLP obj's underlying member method code with example usage: obj.analyze(text) and returns: doc