Textcomplexity

Latest version: v0.11.0

Safety actively analyzes 626763 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.11.0

- Add measures of volume, i.e. text length, to
`textcomplexity.surface`. Default measures: Log10 of text length
in tokens (`--preset core`) and log10 of text length in characters
(`--preset all`).

0.10.0

- Add dispersion measures (Gini-based dispersion and evenness-based
dispersion).
- Add pos-based measures (lexical density, rarity).
- Add Jarvis's (2013) evenness (standard deviation of tokens per
type).
- Language-specific information can be provided via language
definition files (`--lang-def`); already built-in for German and
English (simply specify `--lang de` or `--lang en`).
- New presets of measures (lexical\_core, core, extended\_core, all);
ignore measures that are not applicable.
- New option `--ignore-case`.
- Update documentation.
- Improve warning about window size.

0.9.1

- Bugfix: Use 0.172 instead of -0.172 as default value for alpha in
Brunet’s W.
- Bugfix in code for reading custom tsv format.

0.9.0

- Initial release.

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.