class_docstr: Class to Get the sentence in this format:
  [(Token_1, Part_of_Speech_1, Tag_1), ..., (Token_n, Part_of_Speech_1, Tag_1)]
class_docstr_tok: ["Class","to","Get","the","sentence","in","this","format",":","[","(","Token_1",",","Part_of_Speech_1",",","Tag_1",")",",","...",",","(","Token_n",",","Part_of_Speech_1",",","Tag_1",")","]"]
docstr: Args:
  data is the pandas.DataFrame which contains the above dataset
docstr_tok: ["Args",":","data","is","the","pandas.DataFrame","which","contains","the","above","dataset"]
code: def __init__(self, data, word_column, tag_column, sentence_column):
      """Args:
      data is the pandas.DataFrame which contains the above dataset"""
      self.n_sent = 1
      self.data = data
      self.empty = False
      agg_func = lambda s: [
          (w, t)
          for w, t in zip(
              s[word_column].values.tolist(),
              s[tag_column].values.tolist(),
          )
      ]
      self.grouped = self.data.groupby(sentence_column).apply(agg_func)
      self.sentences = [s for s in self.grouped]
  
imports: from ...None import utils
  from ...imports import *
  from ...preprocessor import Preprocessor
  from ..None import preprocessor
  from ..None import textutils
label_desc: Use image node_id 1 to create a new SentenceGetter object from inherited base classes: object with example: obj = SentenceGetter(data, word_column, tag_column, sentence_column)