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.dev1.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.

File details

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

File metadata

File hashes

Hashes for swarmauri_parser_textblob-0.7.5.dev1.tar.gz
Algorithm Hash digest
SHA256 8c424a683dd11e2f8b05b622e7e9c5747dbbae7ad542f21ae35b1be9ae68883c
MD5 4a551c7f6b5d51fcd6ec7af81559eeb5
BLAKE2b-256 42a0ad327f593085d60205d16ed4fb5be02bd53a655e85b61da4347d84889a26

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swarmauri_parser_textblob-0.7.5.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 4dd03f158bd2ef812cd4f2a2db14d84c541778e1a70925232a2cdc2657569678
MD5 734e3d9e2debac68f7eafd8083b5bf98
BLAKE2b-256 3c79242a655c186e1da90d03022f0d1f10af9549b8b4ac32f08a08536d0b2de0

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