docstr: Test loading model and voacab files which have decoding errors: ignore mode
docstr_tok: ["Test","loading","model","and","voacab","files","which","have","decoding","errors",":","ignore","mode"]
code: def test_load_model_and_vocab_file_ignore(self):
      """Test loading model and voacab files which have decoding errors: ignore mode"""
      model = gensim.models.KeyedVectors.load_word2vec_format(
          self.model_path,
          fvocab=self.vocab_path,
          binary=False,
          unicode_errors="ignore",
      )
      self.assertEqual(model.get_vecattr("ありがとう", "count"), 123)
      self.assertEqual(model.get_vecattr("どういたしまして", "count"), 789)
      self.assertEqual(model.key_to_index["ありがとう"], 0)
      self.assertEqual(model.key_to_index["どういたしまして"], 1)
      self.assertTrue(
          np.array_equal(
              model.get_vector("ありがとう"),
              np.array([0.6, 0.6, 0.6], dtype=np.float32),
          )
      )
      self.assertTrue(
          np.array_equal(
              model.get_vector("どういたしまして"),
              np.array([0.1, 0.2, 0.3], dtype=np.float32),
          )
      )
  
imports: import functools
  import logging
  import unittest
  import numpy
  from gensim.models.keyedvectors import KeyedVectors, REAL, pseudorandom_weak_vector
  from gensim.test.utils import datapath
  import gensim.models.keyedvectors
label_desc: Use image node_id 27 for calling the TestKeyedVectors obj's underlying member method code with example usage: obj.test_load_model_and_vocab_file_ignore() without return types