TextBlob Parser for Swarmauri.
Project description
Swarmauri Parser TextBlob
A parser package that leverages TextBlob for natural language processing tasks such as sentence parsing and noun phrase extraction.
Installation
pip install swarmauri_parser_textblob
Usage
Basic usage examples with code snippets
from swarmauri.parsers.TextBlobSentenceParser import TextBlobSentenceParser
from swarmauri.parsers.TextBlobNounParser import TextBlobNounParser
# Example usage of TextBlobSentenceParser
sentence_parser = TextBlobSentenceParser()
sentences = sentence_parser.parse("One more large chapula please.")
for doc in sentences:
print(doc.content)
# Example usage of TextBlobNounParser
noun_parser = TextBlobNounParser()
documents = noun_parser.parse("One more large chapula please.")
for doc in documents:
print(doc.content)
print(doc.metadata["noun_phrases"])
Want to help?
If you want to contribute to swarmauri-sdk, read up on our guidelines for contributing that will help you get started.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file swarmauri_parser_textblob-0.9.0.dev4.tar.gz.
File metadata
- Download URL: swarmauri_parser_textblob-0.9.0.dev4.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fcf7f0936cca0ec35ec77182522890b74571a13ee4bdface3fcfbd790bea0bb1
|
|
| MD5 |
b9142a0ee021e35f55c69fbe721348eb
|
|
| BLAKE2b-256 |
4e5d9c7bd21f8dcf075c7d0614faca050d5a0c9e5da4bfe1c6465ec15c1e78f3
|
File details
Details for the file swarmauri_parser_textblob-0.9.0.dev4-py3-none-any.whl.
File metadata
- Download URL: swarmauri_parser_textblob-0.9.0.dev4-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c8677e25d9bc18f059c6347af87aa2659aed5e3aa3bf4c04cb4b46f62908b280
|
|
| MD5 |
04c8d1745219a1a910bdb1481df6cae1
|
|
| BLAKE2b-256 |
7eb46e95430ff40f63b3ea4e5ad139d4d6b16316723eed445b078a48b86836d0
|