enlp.pipeline.NLPPipeline¶
-
class
enlp.pipeline.
NLPPipeline
(model, text)[source]¶ Pipeline class for combining functions from nlp_tools
- Attributes
Methods
__init__
(self, model, text)__init__ method of nlp_pipeline class
nltk_stem_no
(self)stem text
pos_tag
(self)get part-of-speech tags
rm_punctuation
(self, \*\*kwargs)remove punctuation from text
rm_stopwords
(self, \*\*kwargs)remove stopwords from text
spacy_lemmatize
(self)lemmatise text
tokenise
(self)tokenise text