code: def __init__(self, language="english", model_name=None):
      self.lexicons = {}
      self.data = {}
      self.tg_params = {
          "language": language,
      }
      if model_name is not None:
          self.tg_params["model_name"] = model_name
      self._load_lexicons(language)
      self.selected_suggestions = []
  
imports: import collections
  import itertools
  import string
  import numpy
  import re
  import copy
  import os
  import json
  import munch
  import pickle
  import csv
  from .viewer.template_editor import TemplateEditor
  from .multilingual import multilingual_params, get_language_code
label_desc: Use image node_id 1 to create a new Editor object from inherited base classes: object with example: obj = Editor(language, model_name)