code: def _get_aug_range_idxes(self, tokens):
      aug_cnt = self.generate_aug_cnt(len(tokens))
      if aug_cnt == 0 or len(tokens) == 0:
          return []
      direction = self.sample([-1, 1], 1)[0]
  
      if direction > 0:
          # right
          word_idxes = [i for i, _ in enumerate(tokens[: -aug_cnt + 1])]
      else:
          # left
          word_idxes = [i for i, _ in enumerate(tokens[aug_cnt - 1 :])]
  
      start_aug_idx = self.sample(word_idxes, 1)[0]
      aug_idxes = [
          start_aug_idx + _ * direction for _ in range(aug_cnt)
      ]
  
      return aug_idxes
  
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 10 for calling the WordAugmenter obj's underlying member method code with example usage: obj._get_aug_range_idxes(tokens) and returns: aug_idxes, list