Skip to main content

This repository includes an example of a First Class Swarmauri Example.

Project description

Swamauri Logo

PyPI - Downloads GitHub Hits PyPI - Python Version PyPI - License PyPI - swarmauri_tool_sentencecomplexity


Swarmauri Tool Sentencecomplexity

A tool for evaluating sentence complexity based on average sentence length and the number of clauses.

Installation

pip install swarmauri_tool_sentencecomplexity

Usage

The SentenceComplexityTool analyzes text and returns metrics about sentence complexity.

from swarmauri.tools.sentencecomplexity import SentenceComplexityTool

# Initialize the tool
tool = SentenceComplexityTool()

# Analyze text
text = "This is a simple sentence. This is another sentence, with a clause."
result = tool(text)

print(result)
# Output: {
#     'average_sentence_length': 7.5,
#     'average_clauses_per_sentence': 1.5
# }

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

This version

0.7.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

swarmauri_tool_sentencecomplexity-0.7.1.tar.gz (6.9 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_tool_sentencecomplexity-0.7.1.tar.gz.

File metadata

File hashes

Hashes for swarmauri_tool_sentencecomplexity-0.7.1.tar.gz
Algorithm Hash digest
SHA256 eb917f8baa3b9dd5286fe41720fa9b19d894a0b6e9a38f1eb611d0eb8d59792b
MD5 98e13918b3e078d520b24e995c482fd4
BLAKE2b-256 b464b267558545e77b6ec6f8c27def12bb0415bb17d0591a681020d411dabcbc

See more details on using hashes here.

File details

Details for the file swarmauri_tool_sentencecomplexity-0.7.1-py3-none-any.whl.

File metadata

File hashes

Hashes for swarmauri_tool_sentencecomplexity-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8e458de2cec172b24e7fe42e31fd032d2169cc46ebe316abd4bd5c8c0690ad10
MD5 d138c5f3d47026f7ac82518ae25a607f
BLAKE2b-256 035f81f422336fceaa12496e0affb0802e4c84d94b6bb858de23ac0680a7820d

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