Crates.io | perspicuity_formula |
lib.rs | perspicuity_formula |
version | 0.1.0 |
source | src |
created_at | 2024-08-07 12:40:51.454435 |
updated_at | 2024-08-07 12:40:51.454435 |
description | Calculate Flesh Reading Ease for a given text and language. |
homepage | |
repository | https://github.com/astuanax/perspicuity_formula |
max_upload_size | |
id | 1328395 |
size | 11,688 |
The Perspicuity Formula library provides a tool to calculate the readability score for Spanish texts based on the Fórmula de Perspicuidad. This formula helps determine the ease of understanding a given text, making it useful for writers, educators, and content creators who want to ensure their material is accessible to their intended audience.
use perspicuity_formula::PerspicuityFormula;
fn main() {
let text = "Este es un texto de prueba. Está diseñado para verificar la fórmula de perspicuidad.";
let pf = PerspicuityFormula::new();
let score = pf.calculate(text);
println!("Perspicuity Score: {}", score);
}
cargo install perspicuity_formula
Licensed under:
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the MIT license, shall be dual licensed as above, without any additional terms or conditions.
See CONTRIBUTING.md.