Skip to main content

Keyword Extractor Parser for Swarmauri.

Project description

Swamauri Logo

PyPI - Downloads Hits PyPI - Python Version PyPI - License PyPI - swarmauri_parser_keywordextractor


Swarmauri Parser Keywordextractor

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.5.dev1.tar.gz.

File metadata

File hashes

Hashes for swarmauri_parser_keywordextractor-0.7.5.dev1.tar.gz
Algorithm Hash digest
SHA256 b0d8bf01d3a70a41ca8a0e655b36c0401aa67013be5e157fb5a8e48318b3a3c7
MD5 1ed92aa4355fe8b59dede811b99852d4
BLAKE2b-256 616b849b69adea86796022ed335caddda462c016bafba1a02ba1dc6f023239bc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swarmauri_parser_keywordextractor-0.7.5.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 57ddff3213c7a0abb15f156cf0ff61354bb696b4b5fa29913048c97e9232fabe
MD5 270589a61be2f0489682afbaf42f39a9
BLAKE2b-256 7d2e68149e9a87cd19f1ce668c37dc28f2cbc212920b166c9c4766843a6ad00e

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