class_docstr: TextSet wraps a set of texts with status.
class_docstr_tok: ["TextSet","wraps","a","set","of","texts","with","status","."]
docstr: Convert to a LocalTextSet.
  
  :return: LocalTextSet
docstr_tok: ["Convert","to","a","LocalTextSet",".",":","return",":","LocalTextSet"]
code: def to_local(self):
      """
      Convert to a LocalTextSet.
  
      :return: LocalTextSet
      """
      if self.is_local():
          jvalue = self.value
      else:
          jvalue = callZooFunc(
              self.bigdl_type, "textSetToLocal", self.value
          )
      return LocalTextSet(jvalue=jvalue)
  
imports: import six
  from bigdl.util.common import JavaValue
  from zoo.common.utils import callZooFunc
  from pyspark import RDD
label_desc: Use image node_id 5 for calling the TextSet obj's underlying member method code with example usage: obj.to_local() and returns: LocalTextSet