class_docstr: Class for unittest
class_docstr_tok: ["Class","for","unittest"]
docstr: Test LatinBackoffLemmatizer
docstr_tok: ["Test","LatinBackoffLemmatizer"]
code: def test_backoff_latin_lemmatizer(self):
      """Test LatinBackoffLemmatizer"""
      train = [
          [
              ("ceterum", "ceterus"),
              ("antequam", "antequam"),
              ("destinata", "destino"),
              ("componam", "compono"),
          ]
      ]
      lemmatizer = LatinBackoffLemmatizer()
      test_str = """Ceterum antequam destinata componam"""
      target = [
          ("ceterum", "ceterum"),
          ("antequam", "antequam"),
          ("destinata", "destino"),
          ("componam", "compono"),
      ]
      tokenizer = LatinWordTokenizer()
      test_str = test_str.lower()
      test_str = replace_jv(test_str)
      tokens = tokenizer.tokenize(test_str)
      lemmas = lemmatizer.lemmatize(tokens)
      self.assertEqual(lemmas, target)
  
file_path: cltk/tests/test_lemmatize.py
imports: import os
  import unittest
  from unittest.mock import patch
  from cltk.data.fetch import FetchCorpus
  from cltk.lemmatize.backoff import DefaultLemmatizer, DictLemmatizer, IdentityLemmatizer, RegexpLemmatizer, UnigramLemmatizer
  from cltk.lemmatize.grc import GreekBackoffLemmatizer
  from cltk.lemmatize.lat import LatinBackoffLemmatizer, RomanNumeralLemmatizer
  from cltk.text.lat import replace_jv
  from cltk.tokenizers.lat.lat import LatinWordTokenizer
  from cltk.utils import CLTK_DATA_DIR
label_desc: Use image node_id 4 for calling the TestSequenceFunctions obj's underlying member method code with example usage: obj.test_backoff_latin_lemmatizer() without return types