Pre-release
This release is a pre-release and may not be stable for production use.
SMOG Index Tool
A tool for calculating the SMOG (Simple Measure of Gobbledygook) Index of text, which estimates the years of education needed to understand a piece of written material.
Installation
pip install swarmauri_tool_smogindex
Usage
from swarmauri.tools.SMOGIndexTool import SMOGIndexTool
# Initialize the tool
tool = SMOGIndexTool()
# Analyze text
text = "This is a sample text with some complex sentences and polysyllabic words to test the SMOG Index calculation."
result = tool(text)
# Get the SMOG index
smog_index = result['smog_index']
print(f"SMOG Index: {smog_index}") # Output: SMOG Index: 8.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.
Metadata
Release files for swarmauri_tool_smogindex 0.6.0.dev155
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| swarmauri_tool_smogindex-0.6.0.dev155.tar.gz | 3.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| swarmauri_tool_smogindex-0.6.0.dev155-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.7 kB
Release files / swarmauri_tool_smogindex-0.6.0.dev155.tar.gz
| Download URL | swarmauri_tool_smogindex-0.6.0.dev155.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
087e1b8a7d91f3e24fdf678171529eb65e9b7dab72e74ac73949006cb91422d8
|
|
BLAKE2b-256 checksum How to use checksums |
9c24e8f10bb7dd3a5b3285572250fd955a1cce3d4d6088f4d51ce6740a4b890d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.0.1 CPython/3.12.8 Windows/10
|
Release files / swarmauri_tool_smogindex-0.6.0.dev155-py3-none-any.whl
| Download URL | swarmauri_tool_smogindex-0.6.0.dev155-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f0dbf108c703306e61d9ea3b4991f757adb8971ef677cb03be28a5494fee2aaa
|
|
BLAKE2b-256 checksum How to use checksums |
bccd276755070f22fcd4f130da32342f138e067f2449eb52f5ba20ee5cd1600d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.0.1 CPython/3.12.8 Windows/10
|