class_docstr: This is a simple subclass of StemFilter that works with the py-stemmer
  third-party library. You must have the py-stemmer library installed to use
  this filter.
  
  >>> PyStemmerFilter("spanish")
class_docstr_tok: ["This","is","a","simple","subclass","of","StemFilter","that","works","with","the","py-stemmer","third-party","library",".","You","must","have","the","py-stemmer","library","installed","to","use","this","filter",".",">",">",">","PyStemmerFilter","(","``","spanish","''",")"]
docstr: :param lang: a string identifying the stemming algorithm to use. You
      can get a list of available algorithms by with the
      :meth:`PyStemmerFilter.algorithms` method. The identification
      strings are directly from the py-stemmer library.
  :param ignore: a set/list of words that should not be stemmed. This is
      converted into a frozenset. If you omit this argument, all tokens
      are stemmed.
  :param cachesize: the maximum number of words to cache.
docstr_tok: [":","param","lang",":","a","string","identifying","the","stemming","algorithm","to","use",".","You","can","get","a","list","of","available","algorithms","by","with","the",":","meth",":","`","PyStemmerFilter.algorithms","`","method",".","The","identification","strings","are","directly","from","the","py-stemmer","library",".",":","param","ignore",":","a","set\/list","of","words","that","should","not","be","stemmed",".","This","is","converted","into","a","frozenset",".","If","you","omit","this","argument",",","all","tokens","are","stemmed",".",":","param","cachesize",":","the","maximum","number","of","words","to","cache","."]
code: def __init__(self, lang="english", ignore=None, cachesize=10000):
      """
      :param lang: a string identifying the stemming algorithm to use. You
          can get a list of available algorithms by with the
          :meth:`PyStemmerFilter.algorithms` method. The identification
          strings are directly from the py-stemmer library.
      :param ignore: a set/list of words that should not be stemmed. This is
          converted into a frozenset. If you omit this argument, all tokens
          are stemmed.
      :param cachesize: the maximum number of words to cache.
      """
  
      self.lang = lang
      self.ignore = frozenset() if ignore is None else frozenset(ignore)
      self.cachesize = cachesize
      self._stem = self._get_stemmer_fn()
  
imports: from whoosh.analysis.filters import Filter
  from whoosh.compat import integer_types
  from whoosh.lang.dmetaphone import double_metaphone
  from whoosh.lang.porter import stem
  from whoosh.util.cache import lfu_cache, unbound_cache
label_desc: Use image node_id 1 to create a new PyStemmerFilter object from inherited base classes: StemFilter with example: obj = PyStemmerFilter(lang, ignore, cachesize)