code: def _get_aug_idxes(self, tokens):
      aug_cnt = self.generate_aug_cnt(len(tokens))
      word_idxes = self.pre_skip_aug(tokens)
      word_idxes = self.skip_aug(word_idxes, tokens)
      if len(word_idxes) == 0:
          if self.verbose > 0:
              exception = WarningException(
                  name=WarningName.OUT_OF_VOCABULARY,
                  code=WarningCode.WARNING_CODE_002,
                  msg=WarningMessage.NO_WORD,
              )
              exception.output()
          return []
      if len(word_idxes) < aug_cnt:
          aug_cnt = len(word_idxes)
      aug_idexes = self.sample(word_idxes, aug_cnt)
      return aug_idexes
  
imports: import string
  import re
  from typing import Iterable
  from nlpaug.util import Method
  from nlpaug.util.text.tokenizer import Tokenizer
  from nlpaug import Augmenter
  from nlpaug.util import WarningException, WarningName, WarningCode, WarningMessage
label_desc: Use image node_id 8 for calling the WordAugmenter obj's underlying member method code with example usage: obj._get_aug_idxes(tokens) and returns: aug_idexes, list