quality_metrics()
Returns a quality score, grade, and noise ratio for a block of text.noise_ratio()
Returns only the noise ratio (0.0–1.0) — the proportion of the text that is non-informative.Grade thresholds
| Grade | Score |
|---|---|
| A | 85–100 |
| B | 65–84 |
| C | 45–64 |
| D | 0–44 |