class_docstr: An class that supply methods for ABSA task data transformation.
docstr: Get the index of conjunction words in  conjunction_list.
  
  :param list trans_words: tokenized words of transformed sentence
  :param dict aspect_term: aspect term
  :param list conjunction_list: conjunction list
  :return list: index of transformed conjunction word
docstr_tok: ["Get","the","index","of","conjunction","words","in","conjunction_list",".",":","param","list","trans_words",":","tokenized","words","of","transformed","sentence",":","param","dict","aspect_term",":","aspect","term",":","param","list","conjunction_list",":","conjunction","list",":","return","list",":","index","of","transformed","conjunction","word"]
code: def get_conjunction_idx(trans_words, aspect_term, conjunction_list):
      r"""
      Get the index of conjunction words in  conjunction_list.
  
      :param list trans_words: tokenized words of transformed sentence
      :param dict aspect_term: aspect term
      :param list conjunction_list: conjunction list
      :return list: index of transformed conjunction word
      """
      conjunction_idx = []
      trans_idx = None
      term = aspect_term["term"]
      term_from = aspect_term["from"]
      term_to = aspect_term["to"]
      distance_to_term = len(trans_words)
  
      for idx, word in enumerate(trans_words):
          if (
              word.lower() in conjunction_list
              and word.lower() not in term.lower()
          ):
              conjunction_idx.append(idx)
      for idx in conjunction_idx:
          if idx > term_to and idx - term_to < distance_to_term:
              distance_to_term = idx - term_to
              trans_idx = idx
          if idx < term_from and term_to - idx:
              distance_to_term = term_to - idx
              trans_idx = idx
  
      return trans_idx
  
imports: import random
  from abc import ABC
  from copy import deepcopy
  from ..transformation import Transformation
  from ....common.settings import NEGATIVE_WORDS_LIST, DEGREE_WORD_LIST
label_desc: Use image node_id 8 for calling the ABSATransformation obj's underlying member method code with example usage: obj.get_conjunction_idx(trans_words, aspect_term, conjunction_list) and returns: trans_idx