class_docstr: Class for punkt word tokenization
class_docstr_tok: ["Class","for","punkt","word","tokenization"]
docstr: :param language : language for sentences tokenization
  :type language: str
docstr_tok: [":","param","language",":","language","for","sentences","tokenization",":","type","language",":","str"]
code: def __init__(self, sent_tokenizer=None):
      """
      :param language : language for sentences tokenization
      :type language: str
      """
      if sent_tokenizer:
          self.sent_tokenizer = sent_tokenizer()
      else:
          punkt_param = PunktParameters()
          self.sent_tokenizer = PunktSentenceTokenizer(punkt_param)
  
imports: import logging
  import re
  from abc import abstractmethod
  from typing import List
  from nltk.tokenize import TreebankWordTokenizer
  from nltk.tokenize.punkt import PunktParameters, PunktSentenceTokenizer
label_desc: Use image node_id 1 to create a new PunktWordTokenizer object from inherited base classes: WordTokenizer with example: obj = PunktWordTokenizer(sent_tokenizer)