class_docstr: Allow per-line lazy access to multiple text files using numpy memmap.
docstr: Allows child-classes to modify the parsing of raw text, prior to tokenization
code: def _build_data_from_text(self, text):
      """Allows child-classes to modify the parsing of raw text, prior to tokenization"""
      # tokenize text if tokenizer is given
      if self.tokenizer is not None:
          data = self.tokenizer.text_to_ids(text)
      else:
          data = text
  
      return data
  
imports: import datetime
  import json
  import multiprocessing
  import os
  import pickle
  import time
  from functools import partial
  from typing import Callable, List, Optional, Type
  import numpy
  import torch
  from nemo.core import Dataset
  from nemo.utils import AppState, logging
label_desc: Use image node_id 6 for calling the TextMemMapDataset obj's underlying member method code with example usage: obj._build_data_from_text(text) and returns: data