class_docstr: Text-editing task.
  
  Attributes:
      source_tokens: Tokens of the source texts concatenated into a single list.
      first_tokens: The indices of the first tokens of each source text.
class_docstr_tok: ["Text-editing","task",".","Attributes",":","source_tokens",":","Tokens","of","the","source","texts","concatenated","into","a","single","list",".","first_tokens",":","The","indices","of","the","first","tokens","of","each","source","text","."]
docstr: Initializes an instance of EditingTask.
  
  Args:
      source: string.
docstr_tok: ["Initializes","an","instance","of","EditingTask",".","Args",":","source",":","string","."]
code: def __init__(self, source: str) -> None:
      """Initializes an instance of EditingTask.
  
      Args:
          source: string.
      """
      token_list = utils.get_token_list(source)
      # Tokens of the source texts concatenated into a single list.
      self.source_tokens = []
      # The indices of the first tokens of each source text.
      self.first_tokens = []
      self.first_tokens.append(len(self.source_tokens))
      self.source_tokens.extend(token_list)
  
imports: import re
  from enum import Enum
  from typing import List, Tuple
  import nemo.collections.nlp.data.text_normalization_as_tagging.utils
label_desc: Use image node_id 1 to create a new EditingTask object from inherited base classes: object with example: obj = EditingTask(source)