How to do stemming using config.toml


#1

prefix = “.”
stop-words = “stopwords.txt”

dataset = “reviews”
corpus = “line.toml”
index = “idx”

[[analyzers]]
method = “ngram-word”
ngram = 1
filter = “porter2-filter”

This gives an error
self.idx = metapy.index.make_inverted_index(cfg)
RuntimeError: unknown filter option: porter2