code: def tokenize(text):
      try:
          from pythainlp.tokenize import sent_tokenize
      except ImportError:
          raise ValueError(
              "Thai tokenizer requires pythainlp. Please, install it with 'pip install pythainlp'."
          )
      return sent_tokenize(text)
  
imports: from __future__ import absolute_import
  from __future__ import division, print_function, unicode_literals
  import re
  import string
  import zipfile
  import nltk
  from .._compat import to_string, to_unicode, unicode
  from ..utils import normalize_language
label_desc: Use image node_id 1 for calling the ThaiSentencesTokenizer obj's underlying member method code with example usage: obj.tokenize(text) and returns: sent_tokenize