class_docstr: Chooses one of two or more sub-filters based on the 'mode' attribute
  of the token stream.
class_docstr_tok: ["Chooses","one","of","two","or","more","sub-filters","based","on","the","'mode","'","attribute","of","the","token","stream","."]
docstr: Use keyword arguments to associate mode attribute values with
  instantiated filters.
  
  >>> iwf_for_index = IntraWordFilter(mergewords=True, mergenums=False)
  >>> iwf_for_query = IntraWordFilter(mergewords=False, mergenums=False)
  >>> mf = MultiFilter(index=iwf_for_index, query=iwf_for_query)
  
  This class expects that the value of the mode attribute is consistent
  among all tokens in a token stream.
code: def __init__(self, **kwargs):
      """Use keyword arguments to associate mode attribute values with
      instantiated filters.
  
      >>> iwf_for_index = IntraWordFilter(mergewords=True, mergenums=False)
      >>> iwf_for_query = IntraWordFilter(mergewords=False, mergenums=False)
      >>> mf = MultiFilter(index=iwf_for_index, query=iwf_for_query)
  
      This class expects that the value of the mode attribute is consistent
      among all tokens in a token stream.
      """
      self.filters = kwargs
  
imports: from itertools import chain
  from whoosh.compat import next
  from whoosh.analysis.acore import Composable
  from whoosh.util.text import rcompile
label_desc: Use image node_id 1 to create a new MultiFilter object from inherited base classes: Filter with example: obj = MultiFilter()