swarmauri_tool_sentencecomplexity 0.7.0.dev12__tar.gz → 0.7.1.dev1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {swarmauri_tool_sentencecomplexity-0.7.0.dev12 → swarmauri_tool_sentencecomplexity-0.7.1.dev1}/PKG-INFO +16 -10
- swarmauri_tool_sentencecomplexity-0.7.1.dev1/README.md +51 -0
- {swarmauri_tool_sentencecomplexity-0.7.0.dev12 → swarmauri_tool_sentencecomplexity-0.7.1.dev1}/pyproject.toml +2 -2
- swarmauri_tool_sentencecomplexity-0.7.0.dev12/README.md +0 -46
- {swarmauri_tool_sentencecomplexity-0.7.0.dev12 → swarmauri_tool_sentencecomplexity-0.7.1.dev1}/LICENSE +0 -0
- {swarmauri_tool_sentencecomplexity-0.7.0.dev12 → swarmauri_tool_sentencecomplexity-0.7.1.dev1}/swarmauri_tool_sentencecomplexity/SentenceComplexityTool.py +0 -0
- {swarmauri_tool_sentencecomplexity-0.7.0.dev12 → swarmauri_tool_sentencecomplexity-0.7.1.dev1}/swarmauri_tool_sentencecomplexity/__init__.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: swarmauri_tool_sentencecomplexity
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.1.dev1
|
|
4
4
|
Summary: This repository includes an example of a First Class Swarmauri Example.
|
|
5
5
|
License: Apache-2.0
|
|
6
6
|
Author: Jacob Stewart
|
|
@@ -16,20 +16,25 @@ Requires-Dist: swarmauri_core
|
|
|
16
16
|
Requires-Dist: swarmauri_standard
|
|
17
17
|
Description-Content-Type: text/markdown
|
|
18
18
|
|
|
19
|
-

|
|
20
19
|
|
|
21
|
-
|
|
20
|
+

|
|
22
21
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
22
|
+
<p align="center">
|
|
23
|
+
<a href="https://pypi.org/project/swarmauri_tool_sentencecomplexity/">
|
|
24
|
+
<img src="https://img.shields.io/pypi/dm/swarmauri_tool_sentencecomplexity" alt="PyPI - Downloads"/></a>
|
|
25
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/community/swarmauri_tool_sentencecomplexity/README.md">
|
|
26
|
+
<img src="https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https://github.com/swarmauri/swarmauri-sdk/pkgs/community/swarmauri_tool_sentencecomplexity/README.md&count_bg=%2379C83D&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=hits&edge_flat=false" alt="GitHub Hits"/></a>
|
|
27
|
+
<a href="https://pypi.org/project/swarmauri_tool_sentencecomplexity/">
|
|
28
|
+
<img src="https://img.shields.io/pypi/pyversions/swarmauri_tool_sentencecomplexity" alt="PyPI - Python Version"/></a>
|
|
29
|
+
<a href="https://pypi.org/project/swarmauri_tool_sentencecomplexity/">
|
|
30
|
+
<img src="https://img.shields.io/pypi/l/swarmauri_tool_sentencecomplexity" alt="PyPI - License"/></a>
|
|
31
|
+
<a href="https://pypi.org/project/swarmauri_tool_sentencecomplexity/">
|
|
32
|
+
<img src="https://img.shields.io/pypi/v/swarmauri_tool_sentencecomplexity?label=swarmauri_tool_sentencecomplexity&color=green" alt="PyPI - swarmauri_tool_sentencecomplexity"/></a>
|
|
33
|
+
</p>
|
|
29
34
|
|
|
30
35
|
---
|
|
31
36
|
|
|
32
|
-
#
|
|
37
|
+
# Swarmauri Tool Sentencecomplexity
|
|
33
38
|
|
|
34
39
|
A tool for evaluating sentence complexity based on average sentence length and the number of clauses.
|
|
35
40
|
|
|
@@ -62,3 +67,4 @@ print(result)
|
|
|
62
67
|
## Want to help?
|
|
63
68
|
|
|
64
69
|
If you want to contribute to swarmauri-sdk, read up on our [guidelines for contributing](https://github.com/swarmauri/swarmauri-sdk/blob/master/contributing.md) that will help you get started.
|
|
70
|
+
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
|
|
2
|
+

|
|
3
|
+
|
|
4
|
+
<p align="center">
|
|
5
|
+
<a href="https://pypi.org/project/swarmauri_tool_sentencecomplexity/">
|
|
6
|
+
<img src="https://img.shields.io/pypi/dm/swarmauri_tool_sentencecomplexity" alt="PyPI - Downloads"/></a>
|
|
7
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/community/swarmauri_tool_sentencecomplexity/README.md">
|
|
8
|
+
<img src="https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https://github.com/swarmauri/swarmauri-sdk/pkgs/community/swarmauri_tool_sentencecomplexity/README.md&count_bg=%2379C83D&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=hits&edge_flat=false" alt="GitHub Hits"/></a>
|
|
9
|
+
<a href="https://pypi.org/project/swarmauri_tool_sentencecomplexity/">
|
|
10
|
+
<img src="https://img.shields.io/pypi/pyversions/swarmauri_tool_sentencecomplexity" alt="PyPI - Python Version"/></a>
|
|
11
|
+
<a href="https://pypi.org/project/swarmauri_tool_sentencecomplexity/">
|
|
12
|
+
<img src="https://img.shields.io/pypi/l/swarmauri_tool_sentencecomplexity" alt="PyPI - License"/></a>
|
|
13
|
+
<a href="https://pypi.org/project/swarmauri_tool_sentencecomplexity/">
|
|
14
|
+
<img src="https://img.shields.io/pypi/v/swarmauri_tool_sentencecomplexity?label=swarmauri_tool_sentencecomplexity&color=green" alt="PyPI - swarmauri_tool_sentencecomplexity"/></a>
|
|
15
|
+
</p>
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
# Swarmauri Tool Sentencecomplexity
|
|
20
|
+
|
|
21
|
+
A tool for evaluating sentence complexity based on average sentence length and the number of clauses.
|
|
22
|
+
|
|
23
|
+
## Installation
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
pip install swarmauri_tool_sentencecomplexity
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Usage
|
|
30
|
+
The SentenceComplexityTool analyzes text and returns metrics about sentence complexity.
|
|
31
|
+
|
|
32
|
+
```python
|
|
33
|
+
from swarmauri.tools.sentencecomplexity import SentenceComplexityTool
|
|
34
|
+
|
|
35
|
+
# Initialize the tool
|
|
36
|
+
tool = SentenceComplexityTool()
|
|
37
|
+
|
|
38
|
+
# Analyze text
|
|
39
|
+
text = "This is a simple sentence. This is another sentence, with a clause."
|
|
40
|
+
result = tool(text)
|
|
41
|
+
|
|
42
|
+
print(result)
|
|
43
|
+
# Output: {
|
|
44
|
+
# 'average_sentence_length': 7.5,
|
|
45
|
+
# 'average_clauses_per_sentence': 1.5
|
|
46
|
+
# }
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
## Want to help?
|
|
50
|
+
|
|
51
|
+
If you want to contribute to swarmauri-sdk, read up on our [guidelines for contributing](https://github.com/swarmauri/swarmauri-sdk/blob/master/contributing.md) that will help you get started.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "swarmauri_tool_sentencecomplexity"
|
|
3
|
-
version = "0.7.
|
|
3
|
+
version = "0.7.1.dev1"
|
|
4
4
|
description = "This repository includes an example of a First Class Swarmauri Example."
|
|
5
5
|
license = "Apache-2.0"
|
|
6
6
|
readme = "README.md"
|
|
@@ -44,7 +44,7 @@ log_cli_format = "%(asctime)s [%(levelname)s] %(message)s"
|
|
|
44
44
|
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
|
|
45
45
|
asyncio_default_fixture_loop_scope = "function"
|
|
46
46
|
|
|
47
|
-
[
|
|
47
|
+
[project.entry-points.'swarmauri.tools']
|
|
48
48
|
SentenceComplexityTool = "swarmauri_tool_sentencecomplexity.SentenceComplexityTool:SentenceComplexityTool"
|
|
49
49
|
[build-system]
|
|
50
50
|
requires = ["poetry-core>=1.0.0"]
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-

|
|
2
|
-
|
|
3
|
-
<div align="center">
|
|
4
|
-
|
|
5
|
-

|
|
6
|
-

|
|
7
|
-

|
|
8
|
-

|
|
9
|
-
|
|
10
|
-
</div>
|
|
11
|
-
|
|
12
|
-
---
|
|
13
|
-
|
|
14
|
-
# Sentence Complexity Tool
|
|
15
|
-
|
|
16
|
-
A tool for evaluating sentence complexity based on average sentence length and the number of clauses.
|
|
17
|
-
|
|
18
|
-
## Installation
|
|
19
|
-
|
|
20
|
-
```bash
|
|
21
|
-
pip install swarmauri_tool_sentencecomplexity
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
## Usage
|
|
25
|
-
The SentenceComplexityTool analyzes text and returns metrics about sentence complexity.
|
|
26
|
-
|
|
27
|
-
```python
|
|
28
|
-
from swarmauri.tools.sentencecomplexity import SentenceComplexityTool
|
|
29
|
-
|
|
30
|
-
# Initialize the tool
|
|
31
|
-
tool = SentenceComplexityTool()
|
|
32
|
-
|
|
33
|
-
# Analyze text
|
|
34
|
-
text = "This is a simple sentence. This is another sentence, with a clause."
|
|
35
|
-
result = tool(text)
|
|
36
|
-
|
|
37
|
-
print(result)
|
|
38
|
-
# Output: {
|
|
39
|
-
# 'average_sentence_length': 7.5,
|
|
40
|
-
# 'average_clauses_per_sentence': 1.5
|
|
41
|
-
# }
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
## Want to help?
|
|
45
|
-
|
|
46
|
-
If you want to contribute to swarmauri-sdk, read up on our [guidelines for contributing](https://github.com/swarmauri/swarmauri-sdk/blob/master/contributing.md) that will help you get started.
|
|
File without changes
|
|
File without changes
|