class_docstr: Base class for DateMatcher Annotators
      
docstr: Sets matched strategy to search relaxed dates by ordered rules by more exhaustive to less Strategy.
  
  Not all of the date information needs to be included. For example
  ``"YYYY"`` is also a valid input.
  
  Parameters
  ----------
  matchStrategy : MatchStrategy
      Matched strategy to search relaxed dates by ordered rules by more exhaustive to less Strategy
docstr_tok: ["Sets","matched","strategy","to","search","relaxed","dates","by","ordered","rules","by","more","exhaustive","to","less","Strategy",".","Not","all","of","the","date","information","needs","to","be","included",".","For","example","``","``","YYYY","''","``","is","also","a","valid","input",".","Parameters","--","--","--","--","--","matchStrategy",":","MatchStrategy","Matched","strategy","to","search","relaxed","dates","by","ordered","rules","by","more","exhaustive","to","less","Strategy"]
code: def setRelaxedFactoryStrategy(
      self, matchStrategy=MatchStrategy.MATCH_FIRST
  ):
      """Sets matched strategy to search relaxed dates by ordered rules by more exhaustive to less Strategy.
  
      Not all of the date information needs to be included. For example
      ``"YYYY"`` is also a valid input.
  
      Parameters
      ----------
      matchStrategy : MatchStrategy
          Matched strategy to search relaxed dates by ordered rules by more exhaustive to less Strategy
      """
      return self._set(relaxedFactoryStrategy=matchStrategy)
  
file_path: spark-nlp/python/sparknlp/annotator/matcher/date_matcher.py
imports: from sparknlp.common import *
label_desc: Use image node_id 9 for calling the DateMatcherUtils obj's underlying member method code with example usage: obj.setRelaxedFactoryStrategy(matchStrategy) and returns: self