skillner.text_loaders.StrTextLoader#
- class skillner.text_loaders.StrTextLoader(text: str)[source]#
Loader of text as string.
Used in a pipeline to create the sentences of document.
- Parameters:
- text: str
text used to create the document sentences.
Methods
__init__
(text)enrich_doc
(doc)Create document sentences.