Skip to main content

PyPI - Python Version PyPI Status PyPI Status Downloads

Formatting Linting Tests pr welcome License: LGPL v3

Here is TextComplexityComputer.

TextComplexityComputer is a state-of-the-art library for assessing complexity of a text in French. Use it to assess the complexity of a text in French. it is compatible with the latest version of Scikit-Learn and Python >= 3.8.

Getting Started:

from text_complexity_computer import TextComplexityComputer

tcc = TextComplexityComputer()
print(tcc.get_metrics_scores("Alibaba et les 40 voleurs."))
print(tcc.compute("Alibaba et les 40 voleurs."))

Installation

  • Install the stable version of TextComplexityComputer:
pip install text_complexity_computer
  • Install the latest development version of TextComplexityComputer:
pip install -U git+https://github.com/GRAAL-Research/tcc.git@dev

Cite

Use the following to cite this package and our article;

@article{Primpied2022Quantifying,
	author = {Primpied, Vincent and Beauchemin, David and Khoury, Richard},
	journal = {Proceedings of the Canadian Conference on Artificial Intelligence},
	year = {2022},
	month = {may 27},
	note = {https://caiac.pubpub.org/pub/iaeeogod},
	publisher = {Canadian Artificial Intelligence Association (CAIAC)},
	title = {Quantifying {French} {Document} {Complexity} },
}

Contributing to TextComplexityComputer

We welcome user input, whether it is regarding bugs found in the library or feature propositions ! Make sure to have a look at our contributing guidelines for more details on this matter.

License

TextComplexityComputer is LGPLv3 licensed, as found in the LICENSE file.


Metadata

Release files for text-complexity-computer 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for text-complexity-computer 0.2
File Size Uploaded
text_complexity_computer-0.2.tar.gz 1.6 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for text-complexity-computer 0.2
File Interpreter ABI Platform
text_complexity_computer-0.2-py3-none-any.whl Python 3 none any Details

Total release size: 4.8 MB

Release files / text_complexity_computer-0.2.tar.gz

Download URL text_complexity_computer-0.2.tar.gz
Size 1.6 MB
Tags Source
SHA-256 checksum
How to use checksums
4507b14c675688f4c5ce0c8391781475cf88820783389c6f7430ddd07b0c5e4b
BLAKE2b-256 checksum
How to use checksums
e7f83ab063b33093256c7271ce3663992f2de92b6c863f0820fbd75f0a5aba40
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / text_complexity_computer-0.2-py3-none-any.whl

Download URL text_complexity_computer-0.2-py3-none-any.whl
Size 3.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
0d752c2892b2d42df88e8dab0b2ea5853002c737574a8701dedf6de9be672368
BLAKE2b-256 checksum
How to use checksums
9b249e9859d78991c8f541312dc8e3b06995c4f16dc0c85a969c88236d70723c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release history Release notifications | RSS feed

This release

0.2 This release

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page