Skip to main content

TextBlob Parser for Swarmauri.

Project description

Swamauri Logo

PyPI - Downloads Hits PyPI - Python Version PyPI - License PyPI - swarmauri_parser_textblob


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

swarmauri_parser_textblob-0.7.4.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

swarmauri_parser_textblob-0.7.4-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file swarmauri_parser_textblob-0.7.4.tar.gz.

File metadata

File hashes

Hashes for swarmauri_parser_textblob-0.7.4.tar.gz
Algorithm Hash digest
SHA256 74fbb45992d68e2930b1a11e635ea35f23328e1db2b70ae6dd965b68707d474d
MD5 0382a5518b264947ef15fb7934639301
BLAKE2b-256 a2a882506c8977ea267af802b92e53fc701c0e65175f348982e4092a7a422526

See more details on using hashes here.

File details

Details for the file swarmauri_parser_textblob-0.7.4-py3-none-any.whl.

File metadata

File hashes

Hashes for swarmauri_parser_textblob-0.7.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7789664792897737d89cb319ae2830e2c18f73e0d8c9fb03bbb45ad5847942d3
MD5 c7a0dec0db8ff70d4251fd7383bffc78
BLAKE2b-256 7e87f1ade27287767735e31143fe09aea3ec5ba5d26e5e72476dd3b1136d7235

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page