class_docstr: Main class for sentiment inference execution.
  
  Attributes:
      opinion_lex: Opinion lexicon as outputted by TrainSentiment module.
      aspect_lex: Aspect lexicon as outputted by TrainSentiment module.
      intensifier_lex (dict): Pre-defined intensifier lexicon.
      negation_lex (dict): Pre-defined negation lexicon.
class_docstr_tok: ["Main","class","for","sentiment","inference","execution",".","Attributes",":","opinion_lex",":","Opinion","lexicon","as","outputted","by","TrainSentiment","module",".","aspect_lex",":","Aspect","lexicon","as","outputted","by","TrainSentiment","module",".","intensifier_lex","(","dict",")",":","Pre-defined","intensifier","lexicon",".","negation_lex","(","dict",")",":","Pre-defined","negation","lexicon","."]
code: def run_multiple(
      self,
      data: Union[str, PathLike] = None,
      parsed_data: Union[str, PathLike] = None,
      out_dir: Union[str, PathLike] = INFERENCE_OUT,
  ):
      if not parsed_data:
          if not self.parser:
              raise RuntimeError(
                  "Parser not initialized (try parse=True at init)"
              )
          parsed_dir = Path(out_dir) / "parsed" / Path(data).stem
          parsed_data = self.parse_data(data, out_dir=parsed_dir)
  
      sentiment_docs = {}
      for f, parsed_doc in tqdm(_load_parsed_docs_from_dir(out_dir)):
          sentiment_doc = self.run(parsed_doc=parsed_doc)
          sentiment_docs[f] = sentiment_doc
      return sentiment_docs
  
imports: import math
  from os import PathLike
  from pathlib import Path, PosixPath
  from typing import Union
  from nlp_architect.common.core_nlp_doc import CoreNLPDoc
  from nlp_architect.models.absa import INFERENCE_OUT
  from nlp_architect.models.absa.inference.data_types import Term, TermType, Polarity, SentimentDoc, SentimentSentence, LexiconElement
  from nlp_architect.models.absa.utils import _read_lexicon_from_csv, load_opinion_lex, _load_aspect_lexicon, parse_docs, parse_docs_bist, _load_parsed_docs_from_dir
  from tqdm import tqdm
label_desc: Use image node_id 4 for calling the SentimentInference obj's underlying member method code with example usage: obj.run_multiple(data, parsed_data, out_dir) and returns: sentiment_docs