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.dev2.tar.gz.

File metadata

File hashes

Hashes for swarmauri_parser_keywordextractor-0.7.0.dev2.tar.gz
Algorithm Hash digest
SHA256 6cf2392f7d15e0a18da3d9aa5c25db78a0f439f4d2033bd9fad331eef1f0a411
MD5 2fbed129699dd0c923801db72f258d24
BLAKE2b-256 e779f4bbe6ec323f5d88a8d33c8d1c07df1c8f7dd0e0936a49bad6a0ebf4564f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swarmauri_parser_keywordextractor-0.7.0.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 f3cc865c895e35de86f3e0f82188d2f09b7c2e35e4972a32a0a79fdb56890cc8
MD5 ff07b41930d325927ac5ab29c9112314
BLAKE2b-256 c3d8440c90c8e8e72c9ea27c90246fd55e977af746bce46b3a86de190f4b0adc

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