A tool for stylistic device detection."
Project description
FreeStylo - an easy-to-use stylistic device detection tool for stylometry
An easy-to-use package for detecting stylistic devices in text. This package is designed to be used in stylometry, the study of linguistic style.
For those proficient in python, this package provides a collection of approaches to detect stylistic devices in text. For those less proficient in python, this package provides a simple interface to detect stylistic devices in text with simple commands and user-friendly configuration.
Usage example
If after installation, run the following command in the root of the repository:
freestylo --input test/documents/chiasmustext.txt --output ./output.json --config example_config.json
This creates the file output.json in the root of the repository, which contains the detected stylistic devices in the text file test/documents/chiasmustext.txt.
Afterewards, run the following command to get an overview over the results:
freestylo --mode report --data output.json --device chiasmustext
Installation
The minimum python requirement for this package is python 3.12. The package is available on PyPi and can be installed using pip.
pip install freestylo
Participation
The package is free and open-source software and contributions are very welcome. It is designed to be a living project that is constantly improved and extended. If you have implemented your own stylistic device detector, please consider contributing it to the package. Also, if you have any suggestions for improvements or if you find any bugs, please open an issue on the GitHub page.
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file freestylo-0.6.0.tar.gz.
File metadata
- Download URL: freestylo-0.6.0.tar.gz
- Upload date:
- Size: 56.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
68522d6d88b389497a1306915ad585f613bd9d1c36f895e15d0fbb77f1cb0abe
|
|
| MD5 |
2834f93cc073cf05ca845f32f90fb1b0
|
|
| BLAKE2b-256 |
46a3fb26c5cd41165069e18e2cd6e90a148c878020068da5d7830ea6e8520731
|
Provenance
The following attestation bundles were made for freestylo-0.6.0.tar.gz:
Publisher:
package-and-publish.yml on cvjena/freestylo
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
freestylo-0.6.0.tar.gz -
Subject digest:
68522d6d88b389497a1306915ad585f613bd9d1c36f895e15d0fbb77f1cb0abe - Sigstore transparency entry: 206996127
- Sigstore integration time:
-
Permalink:
cvjena/freestylo@46c3088169335e37f84e345f0bd5dd946d02983f -
Branch / Tag:
refs/tags/0.6.0 - Owner: https://github.com/cvjena
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
package-and-publish.yml@46c3088169335e37f84e345f0bd5dd946d02983f -
Trigger Event:
push
-
Statement type:
File details
Details for the file freestylo-0.6.0-py3-none-any.whl.
File metadata
- Download URL: freestylo-0.6.0-py3-none-any.whl
- Upload date:
- Size: 34.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e9b133fdf151af771dccb41df31c5dc66e96bcc74a018f8f7519ba0f6c040691
|
|
| MD5 |
f4d4e584084e978a62fcfe3659a8d4b1
|
|
| BLAKE2b-256 |
5a417287ab477b1482fc20a49cf7db3e9644a6537998ccc3029bbcf9fd9ab8da
|
Provenance
The following attestation bundles were made for freestylo-0.6.0-py3-none-any.whl:
Publisher:
package-and-publish.yml on cvjena/freestylo
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
freestylo-0.6.0-py3-none-any.whl -
Subject digest:
e9b133fdf151af771dccb41df31c5dc66e96bcc74a018f8f7519ba0f6c040691 - Sigstore transparency entry: 206996130
- Sigstore integration time:
-
Permalink:
cvjena/freestylo@46c3088169335e37f84e345f0bd5dd946d02983f -
Branch / Tag:
refs/tags/0.6.0 - Owner: https://github.com/cvjena
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
package-and-publish.yml@46c3088169335e37f84e345f0bd5dd946d02983f -
Trigger Event:
push
-
Statement type: