(Edit)
Add under Getting Started - Preprocessing a section that explains how to create a custom pipeline. This solution is easier than #9
Explain in the docstring of clean how to create a custom pipeline. Code example:
import texthero as hero
import pandas as pd
s = pd.Series(["is is a stopword"])
custom_set_of_stopwords = ['is']
pipeline = [
lambda s: hero.remove_stopwords(s, stopwords=custom_set_of_stopwords)
]
s.pipe(clean, pipeline=pipeline)
(Edit)
Add under
Getting Started - Preprocessinga section that explains how to create a custom pipeline. This solution is easier than #9Explain in the docstring of
cleanhow to create a custom pipeline. Code example: