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

File metadata

File hashes

Hashes for swarmauri_parser_keywordextractor-0.7.0.dev7.tar.gz
Algorithm Hash digest
SHA256 c792590dcea75cd9ed5ec5d340cc764fff4ca721382e2fdfc0f8e1ab0d8e18f2
MD5 f90b299b43d1d304f88dec632b6ac39d
BLAKE2b-256 c215e3336e626717975246f7ef4e7da590d030e9b65e9ebadca4a52424bcd6cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swarmauri_parser_keywordextractor-0.7.0.dev7-py3-none-any.whl
Algorithm Hash digest
SHA256 fbc9e151d24732c0b6ecbccc53715555a5aa1f6862fe4b532bab78c7dc5c31c1
MD5 4f0f4c86eb9807caebc7cb3c3a696a14
BLAKE2b-256 7977f9a0ffb3b94e7e22da300847944a0a01f0a2ceaa34f582d0935e2ef35462

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