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.dev156
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.dev156.tar.gz | 3.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| swarmauri_tool_smogindex-0.6.0.dev156-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.7 kB
Release files / swarmauri_tool_smogindex-0.6.0.dev156.tar.gz
| Download URL | swarmauri_tool_smogindex-0.6.0.dev156.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
94a8d14ad5d3cf0655d7466efc7782a29de24bf382a37bbd32b49a8bf3559d71
|
|
BLAKE2b-256 checksum How to use checksums |
b8702cca007049b5ad7cb802082813026e4032996f416d94cb2bc25ef4ad90a5
|
| 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.dev156-py3-none-any.whl
| Download URL | swarmauri_tool_smogindex-0.6.0.dev156-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8fa65e8162169e66604ae268646a56c910d2e5eb0ac7627f5e794dfd732c2aa7
|
|
BLAKE2b-256 checksum How to use checksums |
589fbce2842a6843df1d76c1faf59ae004050ba9dd4ef40c0f646c085812de84
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.0.1 CPython/3.12.8 Windows/10
|