Spaces:
Sleeping
Sleeping
Removed abbreviation consistency checker
Browse files
app.py
CHANGED
@@ -500,16 +500,6 @@ def format_results_for_gradio(**kwargs):
|
|
500 |
results.append(f"- {spacing}")
|
501 |
results.append("")
|
502 |
|
503 |
-
# Abbreviation Consistency
|
504 |
-
results.append("## Abbreviation Consistency")
|
505 |
-
if not kwargs['abbreviation_issues']:
|
506 |
-
results.append("✅ All abbreviations are used consistently after definition.\n")
|
507 |
-
else:
|
508 |
-
results.append("❌ Abbreviation Issues:")
|
509 |
-
for full_term, acronym, paragraph in kwargs['abbreviation_issues']:
|
510 |
-
results.append(f"- Use '{acronym}' instead of '{full_term}' in: {paragraph}")
|
511 |
-
results.append("")
|
512 |
-
|
513 |
# Date Format Consistency
|
514 |
results.append("## Date Format Consistency")
|
515 |
if not kwargs['date_issues']:
|
|
|
500 |
results.append(f"- {spacing}")
|
501 |
results.append("")
|
502 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
503 |
# Date Format Consistency
|
504 |
results.append("## Date Format Consistency")
|
505 |
if not kwargs['date_issues']:
|