class_docstr: Reverses words in a string (or the whole string), using bidirectional
  override marks so the rendered string is visually identical to the original.
  Preserves whitespace, including newlines.
code: def augment(self, texts: Union[str, List[str]]) -> List[str]:
      texts = texts if isinstance(texts, list) else [texts]
  
      if self.granularity == "all":
          return [self.rtl_flip(text, False) for text in texts]
  
      # otherwise, self.granularity == "word"
      return [self.rtl_flip_per_word(text) for text in texts]
  
imports: from typing import List, Union
  from augly.text.augmenters.utils import rejoin_words_and_whitespace, split_words_on_whitespace
label_desc: Use image node_id 4 for calling the BidirectionalAugmenter obj's underlying member method code with example usage: obj.augment(texts) and returns: unknown, unknown