class_docstr: NLP class for default processing.
class_docstr_tok: ["NLP","class","for","default","processing","."]
docstr: Select appropriate pipeline for given language. If custom
  processing is requested, ensure that user-selected choices
  are valid, both in themselves and in unison.
  
  >>> from cltk.core.data_types import Pipeline
  >>> cltk_nlp = NLP(language="lat", suppress_banner=True)
  >>> lat_pipeline = cltk_nlp._get_pipeline()
  >>> isinstance(cltk_nlp.pipeline, Pipeline)
  True
  >>> isinstance(lat_pipeline, Pipeline)
  True
  >>> cltk_nlp = NLP(language="axm", suppress_banner=True)
  Traceback (most recent call last):
    ...
  cltk.core.exceptions.UnimplementedAlgorithmError: Valid ISO language code, however this algorithm is not available for ``axm``.
docstr_tok: ["Select","appropriate","pipeline","for","given","language",".","If","custom","processing","is","requested",",","ensure","that","user-selected","choices","are","valid",",","both","in","themselves","and","in","unison",".",">",">",">","from","cltk.core.data_types","import","Pipeline",">",">",">","cltk_nlp","=","NLP","(","language=","''","lat","''",",","suppress_banner=True",")",">",">",">","lat_pipeline","=","cltk_nlp._get_pipeline","(",")",">",">",">","isinstance","(","cltk_nlp.pipeline",",","Pipeline",")","True",">",">",">","isinstance","(","lat_pipeline",",","Pipeline",")","True",">",">",">","cltk_nlp","=","NLP","(","language=","''","axm","''",",","suppress_banner=True",")","Traceback","(","most","recent","call","last",")",":","...","cltk.core.exceptions.UnimplementedAlgorithmError",":","Valid","ISO","language","code",",","however","this","algorithm","is","not","available","for","``","axm","``","."]
code: def _get_pipeline(self) -> Pipeline:
      """Select appropriate pipeline for given language. If custom
      processing is requested, ensure that user-selected choices
      are valid, both in themselves and in unison.
  
      >>> from cltk.core.data_types import Pipeline
      >>> cltk_nlp = NLP(language="lat", suppress_banner=True)
      >>> lat_pipeline = cltk_nlp._get_pipeline()
      >>> isinstance(cltk_nlp.pipeline, Pipeline)
      True
      >>> isinstance(lat_pipeline, Pipeline)
      True
      >>> cltk_nlp = NLP(language="axm", suppress_banner=True)
      Traceback (most recent call last):
        ...
      cltk.core.exceptions.UnimplementedAlgorithmError: Valid ISO language code, however this algorithm is not available for ``axm``.
      """
      try:
          return iso_to_pipeline[self.language.iso_639_3_code]()
      except KeyError:
          raise UnimplementedAlgorithmError(
              f"Valid ISO language code, however this algorithm is not available for ``{self.language.iso_639_3_code}``."
          )
  
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 8 for calling the NLP obj's underlying member method code with example usage: obj._get_pipeline() and returns: iso_to_pipeline