class_docstr: LocalTextSet is comprised of lists.
class_docstr_tok: ["LocalTextSet","is","comprised","of","lists","."]
docstr: Create a LocalTextSet using texts and labels.
  
  # Arguments:
  texts: List of String. Each element is the content of a text.
  labels: List of int or None if texts don't have labels.
docstr_tok: ["Create","a","LocalTextSet","using","texts","and","labels",".","#","Arguments",":","texts",":","List","of","String",".","Each","element","is","the","content","of","a","text",".","labels",":","List","of","int","or","None","if","texts","do","n't","have","labels","."]
code: def __init__(
      self, texts=None, labels=None, jvalue=None, bigdl_type="float"
  ):
      """
      Create a LocalTextSet using texts and labels.
  
      # Arguments:
      texts: List of String. Each element is the content of a text.
      labels: List of int or None if texts don't have labels.
      """
      if texts is not None:
          assert all(
              isinstance(text, six.string_types) for text in texts
          ), "texts for LocalTextSet should be list of string"
      if labels is not None:
          labels = [int(label) for label in labels]
      super(LocalTextSet, self).__init__(
          jvalue, bigdl_type, texts, labels
      )
  
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 1 to create a new LocalTextSet object from inherited base classes: TextSet with example: obj = LocalTextSet(texts, labels, jvalue, bigdl_type)