code: def test_moses_tokenizer():
      en_tokenizer = MosesTokenizer("en")
      de_tokenizer = MosesTokenizer("de")
      gt_en_tokenized = [
          [
              "Four",
              "score",
              "and",
              "seven",
              "years",
              "ago",
              "our",
              "fathers",
              "brought",
              "forth",
              "on",
              "this",
              "continent",
              ",",
              "a",
              "new",
              "nation",
              ",",
              "conceived",
              "in",
              "Liberty",
              ",",
              "and",
              "dedicated",
              "to",
              "the",
              "proposition",
              "that",
              "all",
              "men",
              "are",
              "created",
              "equal",
              ".",
          ],
          [
              "In",
              "spite",
              "of",
              "the",
              "debate",
              "going",
              "on",
              "for",
              "months",
              "about",
              "the",
              "photos",
              "of",
              "Özil",
              "with",
              "the",
              "Turkish",
              "President",
              "Recep",
              "Tayyip",
              "Erdogan",
              ",",
              "he",
              "regrets",
              "the",
              "return",
              "of",
              "the",
              "92-match",
              "national",
              "player",
              "Özil",
              ".",
          ],
      ]
      gt_de_tokenized = [
          [
              "Goethe",
              "stammte",
              "aus",
              "einer",
              "angesehenen",
              "bürgerlichen",
              "Familie",
              ";",
              "sein",
              "Großvater",
              "mütterlicherseits",
              "war",
              "als",
              "Stadtschultheiß",
              "höchster",
              "Justizbeamter",
              "der",
              "Stadt",
              "Frankfurt",
              ",",
              "sein",
              "Vater",
              "Doktor",
              "der",
              "Rechte",
              "und",
              "kaiserlicher",
              "Rat",
              ".",
          ],
          [
              "&quot;",
              "Das",
              "ist",
              "eine",
              "Frage",
              ",",
              "die",
              "natürlich",
              "davon",
              "abhängt",
              ",",
              "dass",
              "man",
              "einmal",
              "ins",
              "Gespräch",
              "kommt",
              ",",
              "dass",
              "man",
              "mit",
              "ihm",
              "auch",
              "darüber",
              "spricht",
              ",",
              "warum",
              "er",
              "das",
              "eine",
              "oder",
              "andere",
              "offenbar",
              "so",
              "empfunden",
              "hat",
              ",",
              "wie",
              "das",
              "in",
              "seinem",
              "Statement",
              "niedergelegt",
              "ist",
              "&quot;",
              ",",
              "sagte",
              "Grindel",
              "im",
              "Fußball-Podcast",
              "&quot;",
              "Phrasenmäher",
              "&quot;",
              "der",
              "&quot;",
              "Bild-Zeitung",
              ".",
          ],
      ]
      verify_encode_token(en_tokenizer, EN_SAMPLES, gt_en_tokenized)
      verify_encode_token(de_tokenizer, DE_SAMPLES, gt_de_tokenized)
      verify_decode(en_tokenizer, EN_SAMPLES, str)
      verify_decode(de_tokenizer, DE_SAMPLES, str)
      vocab = Vocab(
          collections.Counter(
              sum(gt_en_tokenized + gt_de_tokenized, [])
          )
      )
      verify_decode_no_vocab_raise(en_tokenizer)
      verify_decode_no_vocab_raise(de_tokenizer)
      en_tokenizer.set_vocab(vocab)
      de_tokenizer.set_vocab(vocab)
      verify_decode(en_tokenizer, EN_SAMPLES, int)
      verify_decode(de_tokenizer, DE_SAMPLES, int)
      verify_pickleble(en_tokenizer, MosesTokenizer)
      verify_pickleble(de_tokenizer, MosesTokenizer)
  
imports: import pytest
  import random
  import collections
  import pickle
  from uuid import uuid4
  import os
  import unicodedata
  import tempfile
  from pkg_resources import parse_version
  import gluonnlp
  from gluonnlp.data.tokenizers import WhitespaceTokenizer, MosesTokenizer, JiebaTokenizer, SpacyTokenizer, SubwordNMTTokenizer, YTTMTokenizer, SentencepieceTokenizer, HuggingFaceBPETokenizer, HuggingFaceByteBPETokenizer, HuggingFaceWordPieceTokenizer, HuggingFaceTokenizer
  from gluonnlp.base import get_repo_url
  from gluonnlp.data import Vocab, load_vocab
  from gluonnlp.utils.misc import download
  from gluonnlp.models.t5 import T5Tokenizer
label_desc: Use image node_id 13 for calling a global function with example usage: test_moses_tokenizer() without return types