class_docstr: Instantiated model of the TextMatcher.
  
  This is the instantiated model of the :class:`.TextMatcher`. For training
  your own model, please see the documentation of that class.
  
  ====================== ======================
  Input Annotation types Output Annotation type
  ====================== ======================
  ``DOCUMENT, TOKEN``    ``CHUNK``
  ====================== ======================
  
  Parameters
  ----------
  mergeOverlapping
      Whether to merge overlapping matched chunks, by default False
  entityValue
      Value for the entity metadata field
  buildFromTokens
      Whether the TextMatcher should take the CHUNK from TOKEN or not
class_docstr_tok: ["Instantiated","model","of","the","TextMatcher",".","This","is","the","instantiated","model","of","the",":","class",":","`",".TextMatcher","`",".","For","training","your","own","model",",","please","see","the","documentation","of","that","class",".","======================","======================","Input","Annotation","types","Output","Annotation","type","======================","======================","``","DOCUMENT",",","TOKEN","``","``","CHUNK","``","======================","======================","Parameters","--","--","--","--","--","mergeOverlapping","Whether","to","merge","overlapping","matched","chunks",",","by","default","False","entityValue","Value","for","the","entity","metadata","field","buildFromTokens","Whether","the","TextMatcher","should","take","the","CHUNK","from","TOKEN","or","not"]
code: def __init__(
      self,
      classname="com.johnsnowlabs.nlp.annotators.TextMatcherModel",
      java_model=None,
  ):
      super(TextMatcherModel, self).__init__(
          classname=classname, java_model=java_model
      )
  
file_path: spark-nlp/python/sparknlp/annotator/matcher/text_matcher.py
imports: from sparknlp.common import *
label_desc: Use image node_id 1 to create a new TextMatcherModel object from inherited base classes: AnnotatorModel with example: obj = TextMatcherModel(classname, java_model)