code: def setModelLanguage(
      self, language, lang_list, list_lang, list_lang_string
  ):
      self.model_lang = language
      if set(lang_list) - set(list_lang) != set():
          if language == "ch_tra" or language == "ch_sim":
              language = "chinese"
          raise ValueError(
              language.capitalize()
              + " is only compatible with English, try lang_list="
              + list_lang_string
          )
  
imports: from .recognition import get_recognizer, get_text
  from .utils import group_text_box, get_image_list, calculate_md5, get_paragraph, download_and_unzip, printProgressBar, diff, reformat_input, make_rotated_img_list, set_result_with_confidence, reformat_input_batched, merge_to_free
  from .config import *
  from bidi.algorithm import get_display
  import numpy
  import cv2
  import torch
  import os
  import sys
  from PIL import Image
  from logging import getLogger
  import yaml
  import json
label_desc: Use image node_id 5 for calling the Reader obj's underlying member method code with example usage: obj.setModelLanguage(language, lang_list, list_lang, list_lang_string) without return types