Skip to main content

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


Download files

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

Source Distribution

freestylo-0.6.0.tar.gz (56.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

freestylo-0.6.0-py3-none-any.whl (34.0 kB view details)

Uploaded Python 3

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

Hashes for freestylo-0.6.0.tar.gz
Algorithm Hash digest
SHA256 68522d6d88b389497a1306915ad585f613bd9d1c36f895e15d0fbb77f1cb0abe
MD5 2834f93cc073cf05ca845f32f90fb1b0
BLAKE2b-256 46a3fb26c5cd41165069e18e2cd6e90a148c878020068da5d7830ea6e8520731

See more details on using hashes here.

Provenance

The following attestation bundles were made for freestylo-0.6.0.tar.gz:

Publisher: package-and-publish.yml on cvjena/freestylo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for freestylo-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e9b133fdf151af771dccb41df31c5dc66e96bcc74a018f8f7519ba0f6c040691
MD5 f4d4e584084e978a62fcfe3659a8d4b1
BLAKE2b-256 5a417287ab477b1482fc20a49cf7db3e9644a6537998ccc3029bbcf9fd9ab8da

See more details on using hashes here.

Provenance

The following attestation bundles were made for freestylo-0.6.0-py3-none-any.whl:

Publisher: package-and-publish.yml on cvjena/freestylo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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