class_docstr: This suite was built using the checklist process with the self.editor
  suggestions. Users are encouraged to add/modify as they see fit.
  
  Note: `editor.suggest(...)` can be slow as it runs a language model.
class_docstr_tok: ["This","suite","was","built","using","the","checklist","process","with","the","self.editor","suggestions",".","Users","are","encouraged","to","add\/modify","as","they","see","fit",".","Note",":","`","editor.suggest","(","...",")","`","can","be","slow","as","it","runs","a","language","model","."]
code: def _setup_editor(self):
      super()._setup_editor()
  
      pos_adj = [
          "good",
          "great",
          "excellent",
          "amazing",
          "extraordinary",
          "beautiful",
          "fantastic",
          "nice",
          "incredible",
          "exceptional",
          "awesome",
          "perfect",
          "fun",
          "adorable",
          "brilliant",
          "exciting",
          "sweet",
          "wonderful",
      ]
      neg_adj = [
          "awful",
          "bad",
          "horrible",
          "weird",
          "rough",
          "lousy",
          "average",
          "difficult",
          "poor",
          "sad",
          "frustrating",
          "lame",
          "nasty",
          "annoying",
          "boring",
          "creepy",
          "dreadful",
          "ridiculous",
          "terrible",
          "ugly",
          "unpleasant",
      ]
      self.editor.add_lexicon("pos_adj", pos_adj, overwrite=True)
      self.editor.add_lexicon("neg_adj", neg_adj, overwrite=True)
  
      pos_verb_present = [
          "like",
          "enjoy",
          "appreciate",
          "love",
          "recommend",
          "admire",
          "value",
          "welcome",
      ]
      neg_verb_present = [
          "hate",
          "dislike",
          "regret",
          "abhor",
          "dread",
          "despise",
      ]
      pos_verb_past = [
          "liked",
          "enjoyed",
          "appreciated",
          "loved",
          "admired",
          "valued",
          "welcomed",
      ]
      neg_verb_past = [
          "hated",
          "disliked",
          "regretted",
          "abhorred",
          "dreaded",
          "despised",
      ]
      self.editor.add_lexicon(
          "pos_verb_present", pos_verb_present, overwrite=True
      )
      self.editor.add_lexicon(
          "neg_verb_present", neg_verb_present, overwrite=True
      )
      self.editor.add_lexicon(
          "pos_verb_past", pos_verb_past, overwrite=True
      )
      self.editor.add_lexicon(
          "neg_verb_past", neg_verb_past, overwrite=True
      )
      self.editor.add_lexicon(
          "pos_verb", pos_verb_present + pos_verb_past, overwrite=True
      )
      self.editor.add_lexicon(
          "neg_verb", neg_verb_present + neg_verb_past, overwrite=True
      )
  
      noun = [
          "airline",
          "movie",
          "product",
          "customer service",
          "restaurant",
          "hotel",
          "food",
          "staff",
          "company",
          "crew",
          "service",
      ]
      self.editor.add_lexicon("noun", noun, overwrite=True)
  
      intens_adj = [
          "very",
          "really",
          "absolutely",
          "truly",
          "extremely",
          "quite",
          "incredibly",
          "amazingly",
          "especially",
          "exceptionally",
          "unbelievably",
          "utterly",
          "exceedingly",
          "rather",
          "totally",
          "particularly",
      ]
      intens_verb = [
          "really",
          "absolutely",
          "truly",
          "extremely",
          "especially",
          "utterly",
          "totally",
          "particularly",
          "highly",
          "definitely",
          "certainly",
          "genuinely",
          "honestly",
          "strongly",
          "sure",
          "sincerely",
      ]
  
      self.editor.add_lexicon("intens_adj", intens_adj, overwrite=True)
      self.editor.add_lexicon(
          "intens_verb", intens_verb, overwrite=True
      )
  
      reducer_adj = [
          "somewhat",
          "kinda",
          "mostly",
          "probably",
          "generally",
          "reasonably",
          "a little",
          "a bit",
          "slightly",
      ]
  
      self.editor.add_lexicon(
          "reducer_adj", reducer_adj, overwrite=True
      )
  
      self.monotonic_label = Expect.monotonic(
          increasing=True, tolerance=0.1
      )
      self.monotonic_label_down = Expect.monotonic(
          increasing=False, tolerance=0.1
      )
  
imports: from typing import Optional, Iterable, List, Union, Tuple
  import numpy
  from checklist.test_suite import TestSuite
  from checklist.test_types import MFT, INV, DIR, Expect
  from checklist.perturb import Perturb
  from allennlp.confidence_checks.task_checklists.task_suite import TaskSuite
  from allennlp.confidence_checks.task_checklists import utils
  from allennlp.data.instance import Instance
  from allennlp.predictors import Predictor
label_desc: Use image node_id 5 for calling the SentimentAnalysisSuite obj's underlying member method code with example usage: obj._setup_editor() without return types