class_docstr: Test all Latin models in default pipeline.
class_docstr_tok: ["Test","all","Latin","models","in","default","pipeline","."]
code: def test_nlp_latin(self):
      time_0 = time.time()
      print("Starting complete `NLP()` test for 'lat' ...")
  
      lang: str = "lat"
      default_latin_pipeline = LatinPipeline()
  
      self.assertIsInstance(default_latin_pipeline.description, str)
      self.assertIsInstance(default_latin_pipeline.language, Language)
      self.assertIsInstance(
          default_latin_pipeline.language.family_id, str
      )
      self.assertIsInstance(
          default_latin_pipeline.language.glottolog_id, str
      )
      self.assertIsInstance(
          default_latin_pipeline.language.iso_639_3_code, str
      )
      self.assertIsInstance(
          default_latin_pipeline.language.latitude, float
      )
      self.assertIsInstance(default_latin_pipeline.language.level, str)
      self.assertIsInstance(
          default_latin_pipeline.language.longitude, float
      )
      self.assertIsInstance(
          default_latin_pipeline.language.parent_id, str
      )
      self.assertIsInstance(default_latin_pipeline.language.type, str)
  
      text = get_example_text(iso_code=lang)
      self.assertIsInstance(text, str)
  
      cltk_nlp = NLP(language=lang)
      self.assertIsInstance(cltk_nlp, NLP)
  
      cltk_doc = cltk_nlp.analyze(text=text)
      self.assertIsInstance(cltk_doc, Doc)
      self.assertIsInstance(cltk_doc.raw, str)
      self.assertEqual(cltk_doc.language, lang)
      # self.assertIsInstance(cltk_doc.stanza_doc, Document)
  
      self.assertTrue(len(cltk_doc.words) > 0)
      all_words_pres = all(
          [isinstance(word, Word) for word in cltk_doc.words]
      )
      self.assertTrue(all_words_pres)
      word = cltk_doc.words[0]
      self.assertIsInstance(word.category, MorphosyntacticFeatureBundle)
      self.assertIsInstance(word.dependency_relation, str)
      self.assertIsInstance(word.embedding, np.ndarray)
      self.assertIsInstance(word.governor, int)
      self.assertIsInstance(word.index_token, int)
      self.assertIsInstance(word.lemma, str)
      # self.assertIsInstance(word.named_entity, str)
      self.assertIsInstance(word.pos, POS)
      # self.assertIsInstance(word.stanza_features, str)
      self.assertIsInstance(word.stop, bool)
      self.assertIsInstance(word.string, str)
      self.assertIsInstance(word.upos, str)
      self.assertIsInstance(word.xpos, str)
  
      print(
          f"Finished complete test of `NLP()` in {time.time() - time_0} secs."
      )
  
file_path: cltk/tests/test_sanity_lat_only.py
imports: import time
  import unittest
  import numpy
  from stanza.models.common.doc import Document
  from cltk import NLP
  from cltk.core.data_types import Doc, Language, Word
  from cltk.languages.example_texts import get_example_text
  from cltk.languages.pipelines import LatinPipeline
  from cltk.morphology.morphosyntax import MorphosyntacticFeatureBundle
  from cltk.morphology.universal_dependencies_features import POS
label_desc: Use image node_id 1 for calling the TestNLPLatin obj's underlying member method code with example usage: obj.test_nlp_latin() without return types