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.5.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.5-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for swarmauri_parser_textblob-0.7.5.tar.gz
Algorithm Hash digest
SHA256 0ef7c3732951720a8679a1f4b9d734dda3b75a85f78c20a41b987df03882c4cd
MD5 77185f3295d22552a8a8e73b2f5a302d
BLAKE2b-256 c2a921d5d377e9d1ff28cb8506162c9fde897a6f970682597b879bc103a0949c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swarmauri_parser_textblob-0.7.5-py3-none-any.whl
Algorithm Hash digest
SHA256 be3f352490d349f2e9e20fdf3c2a729cb1147e768d86fe7f46223a6c02d7a3af
MD5 5fe6c50a4ebd5b6cfb18da359d3eb4a7
BLAKE2b-256 eea45eeed78c11e5e98aac0592b3215ae5f46b12881a6eb93446f0fbf1103d39

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