class_docstr: Dataset Class 
      1. Performs Model-dependent (but Data-independent) operations (tokenization etc)
      2. This can allow the same model preprocessing for multiple datasources
      3. Users can configurate which labels to use for modelling 
          (e.g. intent classification, slot filling or both together etc)
class_docstr_tok: ["Dataset","Class","1",".","Performs","Model-dependent","(","but","Data-independent",")","operations","(","tokenization","etc",")","2",".","This","can","allow","the","same","model","preprocessing","for","multiple","datasources","3",".","Users","can","configurate","which","labels","to","use","for","modelling","(","e.g",".","intent","classification",",","slot","filling","or","both","together","etc",")"]
docstr: Tokenizes a string, separating words, spaces and punctuations.
  Args:
      s: a string
  Returns:
      seq_tok: list of words, spaces and punctuations from the string
docstr_tok: ["Tokenizes","a","string",",","separating","words",",","spaces","and","punctuations",".","Args",":","s",":","a","string","Returns",":","seq_tok",":","list","of","words",",","spaces","and","punctuations","from","the","string"]
code: def _naive_tokenize(cls, s: str):
      """
      Tokenizes a string, separating words, spaces and punctuations.
      Args:
          s: a string
      Returns:
          seq_tok: list of words, spaces and punctuations from the string
      """
      # Spaces and punctuation marks are all retained, i.e. direct concatenation
      # of all the tokens in the sequence will be the original string.
      seq_tok = [tok for tok in re.split(r"([^a-zA-Z0-9])", s) if tok]
      return seq_tok
  
file_path: NeMo/nemo/collections/nlp/data/dialogue/dataset/dialogue_sgd_bert_dataset.py
imports: import os
  import re
  from typing import List
  import numpy
  from nemo.collections.nlp.data.dialogue.dataset.dialogue_dataset import DialogueDataset
  from nemo.collections.nlp.data.dialogue.input_example.sgd_input_example import SGDInputExample
label_desc: Use image node_id 6 for calling the DialogueSGDBERTDataset obj's underlying member method code with example usage: obj._naive_tokenize(cls, s) and returns: seq_tok