Spaces:
Sleeping
Sleeping
fruitpicker01
commited on
Commit
•
6b1f030
1
Parent(s):
307fbe8
Update app.py
Browse files
app.py
CHANGED
@@ -583,19 +583,19 @@ def perform_checks(message):
|
|
583 |
"promises": check_no_promises(message),
|
584 |
"double_verbs": check_no_double_verbs(message),
|
585 |
"participles": check_no_participles(message),
|
586 |
-
"adverbial_participles": check_no_adverbial_participles(message)
|
587 |
-
"superlative_adjectives": check_no_superlative_adjectives(message),
|
588 |
-
"passive_voice": check_no_passive_voice(message),
|
589 |
-
"written_out_ordinals": check_no_written_out_ordinals(message),
|
590 |
-
"subordinate_clauses_chain": check_no_subordinate_clauses_chain(message),
|
591 |
-
"repeating_conjunctions": check_no_repeating_conjunctions(message),
|
592 |
-
"introductory_phrases": check_no_introductory_phrases(message),
|
593 |
-
"amplifiers": check_no_amplifiers(message),
|
594 |
-
"time_parasites": check_no_time_parasites(message),
|
595 |
-
"multiple_nouns": check_no_multiple_nouns(message),
|
596 |
-
"derived_prepositions": check_no_derived_prepositions(message),
|
597 |
-
"compound_sentences": check_no_compound_sentences(message),
|
598 |
-
"dates_written_out": check_no_dates_written_out(message)
|
599 |
}
|
600 |
return checks
|
601 |
|
@@ -607,19 +607,19 @@ def format_checks(checks):
|
|
607 |
"promises": "Обещания и гарантии",
|
608 |
"double_verbs": "Два глагола подряд",
|
609 |
"participles": "Причастия",
|
610 |
-
"adverbial_participles": "Деепричастия"
|
611 |
-
"superlative_adjectives": "Превосходная степень",
|
612 |
-
"passive_voice": "Страдательный залог",
|
613 |
-
"written_out_ordinals": "Порядковые числительные",
|
614 |
-
"subordinate_clauses_chain": "Цепочки с придаточными предложениями",
|
615 |
-
"repeating_conjunctions": "Разделительные повторяющиеся союзы",
|
616 |
-
"introductory_phrases": "Вводные конструкции",
|
617 |
-
"amplifiers": "Усилители",
|
618 |
-
"time_parasites": "Паразиты времени",
|
619 |
-
"multiple_nouns": "Несколько существительных подряд",
|
620 |
-
"derived_prepositions": "Производные предлоги",
|
621 |
-
"compound_sentences": "Сложноподчиненные предложения",
|
622 |
-
"dates_written_out": "Даты прописью"
|
623 |
}
|
624 |
return " \n".join([f"{translation[rule]}: {'✔️' if result else '❌'}" for rule, result in checks.items()])
|
625 |
|
|
|
583 |
"promises": check_no_promises(message),
|
584 |
"double_verbs": check_no_double_verbs(message),
|
585 |
"participles": check_no_participles(message),
|
586 |
+
"adverbial_participles": check_no_adverbial_participles(message)
|
587 |
+
# "superlative_adjectives": check_no_superlative_adjectives(message),
|
588 |
+
# "passive_voice": check_no_passive_voice(message),
|
589 |
+
# "written_out_ordinals": check_no_written_out_ordinals(message),
|
590 |
+
# "subordinate_clauses_chain": check_no_subordinate_clauses_chain(message),
|
591 |
+
# "repeating_conjunctions": check_no_repeating_conjunctions(message),
|
592 |
+
# "introductory_phrases": check_no_introductory_phrases(message),
|
593 |
+
# "amplifiers": check_no_amplifiers(message),
|
594 |
+
# "time_parasites": check_no_time_parasites(message),
|
595 |
+
# "multiple_nouns": check_no_multiple_nouns(message),
|
596 |
+
# "derived_prepositions": check_no_derived_prepositions(message),
|
597 |
+
# "compound_sentences": check_no_compound_sentences(message),
|
598 |
+
# "dates_written_out": check_no_dates_written_out(message)
|
599 |
}
|
600 |
return checks
|
601 |
|
|
|
607 |
"promises": "Обещания и гарантии",
|
608 |
"double_verbs": "Два глагола подряд",
|
609 |
"participles": "Причастия",
|
610 |
+
"adverbial_participles": "Деепричастия"
|
611 |
+
# "superlative_adjectives": "Превосходная степень",
|
612 |
+
# "passive_voice": "Страдательный залог",
|
613 |
+
# "written_out_ordinals": "Порядковые числительные",
|
614 |
+
# "subordinate_clauses_chain": "Цепочки с придаточными предложениями",
|
615 |
+
# "repeating_conjunctions": "Разделительные повторяющиеся союзы",
|
616 |
+
# "introductory_phrases": "Вводные конструкции",
|
617 |
+
# "amplifiers": "Усилители",
|
618 |
+
# "time_parasites": "Паразиты времени",
|
619 |
+
# "multiple_nouns": "Несколько существительных подряд",
|
620 |
+
# "derived_prepositions": "Производные предлоги",
|
621 |
+
# "compound_sentences": "Сложноподчиненные предложения",
|
622 |
+
# "dates_written_out": "Даты прописью"
|
623 |
}
|
624 |
return " \n".join([f"{translation[rule]}: {'✔️' if result else '❌'}" for rule, result in checks.items()])
|
625 |
|