Writing Analysis
B 85 completedPipeline State
completedPipeline Metadata
AI Prompt
Catalog Information
A Rust library that provides rule‑based writing analysis tools for English and Chinese, including readability scoring, passive voice detection, cliche and filler word spotting, sentiment analysis, and sentence variety metrics.
Description
The library offers a comprehensive suite of rule‑based text analysis functions that work entirely at compile time, eliminating runtime I/O and unsafe code. It calculates multiple readability indices such as Flesch‑Kincaid, SMOG, and Coleman‑Liau for English, and a Simple Chinese Readability Index for Chinese. In addition, it detects passive voice constructions, common cliches, filler words, and performs sentiment scoring using lexicon‑based approaches. Sentence variety metrics provide insights into length distribution, starter diversity, and structural variety. The API is designed for easy integration into larger Rust applications that require lightweight, deterministic text analysis.
الوصف
توفر المكتبة مجموعة شاملة من وظائف تحليل النص القائم على القواعد تعمل بالكامل في وقت الترجمة، مما يلغي الحاجة إلى عمليات الإدخال/الإخراج أثناء التشغيل ويمنع استخدام الكود غير الآمن. تحسب مؤشرات القابلية للقراءة المتعددة مثل فهرس فليش‑كينيدي، SMOG، وكولمان‑ليو للإنجليزية، بالإضافة إلى مؤشر القابلية للقراءة البسيط للغة الصينية. كما تكشف عن تراكيب الجمل المفعلة، العبارات المكررة، الكلمات الفارغة، وتقوم بتحليل المشاعر باستخدام أساليب القاموس. توفر مقاييس تنوع الجمل رؤى حول توزيع الأطوال، تنوع المقدمات، وتنوع البنية. تم تصميم واجهة برمجة التطبيقات لتسهيل التكامل مع تطبيقات Rust الأكبر التي تتطلب تحليل نصي خفيف الوزن وموثوقًا.
Novelty
6/10Tags
Claude Models
Quality Score
Strengths
- CI/CD pipeline configured (github_actions)
- Good test coverage (38% test-to-source ratio)
- Consistent naming conventions (snake_case)
- Good security practices \u2014 no major issues detected
- Properly licensed project
Weaknesses
- 125 duplicate lines detected \u2014 consider DRY refactoring
Recommendations
- Add a linter configuration to enforce code style consistency
Security & Health
Languages
Frameworks
Concepts (2)
| Category | Name | Description | Confidence | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| About: code-quality intelligence by Repobility · https://repobility.com | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| auto_description | Project Description |    | 80% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| auto_category | Library | library | 70% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Embed Badge
Add to your README:
