metrics for evaluate how easy-to-read a text is.
Project description
SERMetric:
SERMetirc is an open-source library for evaluating how easy-to-read a text is. It supports a wide variety of indexes and allows the user to easily combine them.
FEATURES:
Several indexes are provided:
pointsIndex: it is the number of points in the text divided by the number of words.
newParagraphIndex: it is the number of new paragraphs in the text divided by the number of words.
CommaIndex: the number of commas in the text divided by the number of words.
extensionIndex: ratio between the number of syllables in lexical words and the number of lexical words, lexical words being understood as nouns, verbs, adjectives and adverbs.
triPoliIndex: ratio of the number of trisyllabic and polysyllabic words to the number of lexical words.
lexicTriPoliIndex: ratio of the number of trisyllabic and polysyllabic lexical words to the numberof lexical words.
diversityIndex: ratio between the number of different words in the text and the total number of words.
lexicalFreqIndex: ratio between the number of low-frequency lexical words and the number of lexical words. The “Corpus de la Real Academia Española” (CREA) and the ‘Gran diccionario del uso del español actual’ will be used as a reference.
wordForPhraseIndex: quotient resulting from the division between the number of words in the text and the number of sentences.
sentenceComplexityIndex: the result of dividing the number of sentences by the number of propositions.
complexityIndex: quotient between the number of low-frequency syllables and the total number of syllables (reference: ‘Diccionario de frecuencias de las unidades lingüísticas del castellano’)
fernandezHuerta: is the result of 206.84-0.6P-1.02F, where P is the number of syllables per 100 words and F is the number of sentences per 100 words.
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
File details
Details for the file sermetric-0.2.2.tar.gz.
File metadata
- Download URL: sermetric-0.2.2.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d36e6b52197c09bec56a3ae7d35d4cb37b59b786735b305660b9ff40e12f45a5
|
|
| MD5 |
edf0738de3da49296a5c1b24c19f8961
|
|
| BLAKE2b-256 |
43927c14e486cb1f2a25ad9144e54f09a906dac08207463e31aab446ad6cfaec
|