Skip to main content

Keyword Extractor Parser for Swarmauri.

Project description

Swarmauri Logo

PyPI - Downloads PyPI - Python Version PyPI - License PyPI - Version


Keyword Extractor Parser

A parser component that extracts keywords from text using the YAKE keyword extraction library.

Installation

pip install swarmauri_parser_keywordextractor

Usage

Here's a basic example of how to use the KeywordExtractorParser:

from swarmauri_parser_keywordextractor.KeywordExtractorParser import KeywordExtractorParser

# Initialize the parser
parser = KeywordExtractorParser()

# Parse text and extract keywords
text = "Artificial intelligence and machine learning are transforming technology"
documents = parser.parse(text)

# Access extracted keywords and their scores
for doc in documents:
    print(f"Keyword: {doc.content}, Score: {doc.metadata['score']}")

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


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

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

File details

Details for the file swarmauri_parser_keywordextractor-0.7.0.dev9.tar.gz.

File metadata

File hashes

Hashes for swarmauri_parser_keywordextractor-0.7.0.dev9.tar.gz
Algorithm Hash digest
SHA256 03d503334d2cc0f239ce9e39d2c0aa70373099224522169e1f44bfdb3b4c6515
MD5 0f2137d886a6eff638cacf5ea4f29e26
BLAKE2b-256 a04aa77b6be1391f027ce3d1bbe4560ab1993b636d831db18cc5beebe1f62c4c

See more details on using hashes here.

File details

Details for the file swarmauri_parser_keywordextractor-0.7.0.dev9-py3-none-any.whl.

File metadata

File hashes

Hashes for swarmauri_parser_keywordextractor-0.7.0.dev9-py3-none-any.whl
Algorithm Hash digest
SHA256 7e94f1c1562ef1d46739acbde9fa890ae877d16b994e5286b1dda39b80cf2519
MD5 716ca3c67bf7451eb41a425a0cca5a67
BLAKE2b-256 2ed3543af780bbd7c2abef8f171c20b99631214c3d5bd1d0285a0a59dbd6b6b8

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