-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rules & disallowed words for Catalan (#42)
* rules & disallowed words for Catalan * ca: more disallowed symbols * update Catalan config * update Catalan settings * missing comma * fix escape * Catalan: update rules & disallowed words * +disallowed symbols * Catalan: update rules
- Loading branch information
1 parent
a23abce
commit 1ffde0a
Showing
2 changed files
with
1,481,997 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
min_trimmed_length = 6 | ||
min_word_count = 2 | ||
max_word_count = 15 | ||
min_characters = 6 | ||
may_end_with_colon = false | ||
quote_start_with_letter = true | ||
needs_punctuation_end = true | ||
needs_letter_start = true | ||
needs_uppercase_start = true | ||
disallowed_symbols = [ | ||
'<', '>', '+', '*', '\', '#', '@', '^', '[', ']', '(', ')', '/', '=', | ||
'Å', 'Ł', 'ś', 'ń', 'ź', 'ñ', 'š', 'ö', 'â', 'ë', 'ä', 'ê', | ||
'α', 'β', 'Γ', 'γ', 'Δ', 'δ', 'ε', 'ζ', 'η', 'Θ', 'θ', 'ι', 'κ', | ||
'Λ', 'λ', 'μ', 'ν', 'Ξ', 'ξ', 'Π', 'π', 'ρ', 'Σ', 'σ', 'ς', 'τ', | ||
'υ', 'Φ', 'φ', 'χ', 'Ψ', 'ψ', 'Ω', 'ω', | ||
'ム', 'בְ', 'ɛ', 'ɔ' | ||
'$', '€', | ||
'б', 'м', 'ы', 'л', | ||
'"', '«', '»', '“', '”', '„', '“', '•', '‘' | ||
] | ||
broken_whitespace = [" ", " ,", " .", " ?", " !", " ;"] | ||
abbreviation_patterns = [ | ||
"[A-Z]+\\.* ?[A-Z]", | ||
"[A-Z][A-Z]+", | ||
"[\\s'‘][A-Z]\\b", | ||
"aC", "dC", | ||
" ex\\.", | ||
" .\\.", | ||
"\\betc.", | ||
"\\..", | ||
"[;,]$", | ||
"El següent diagrama mostra les poblacions més properes\\.", | ||
"És inofensiu per als humans\\.", | ||
"Ha estat doblada al català\\.", | ||
"Es troba amenaçada d'extinció per la pèrdua del seu hàbitat natural\\.", | ||
"Està amenaçada d'extinció per la pèrdua del seu hàbitat natural\\.", | ||
"És un peix d'aigua dolça i de clima tropical\\.", | ||
"Viu en zones de clima tropical\\.", | ||
"Cristal·litza en el sistema monoclínic\\.", | ||
"És ovípar\\.", | ||
"Cap de les famílies estaven per davall del llindar de pobresa\\.", | ||
"Cristal·litza en el sistema ortoròmbic\\.", | ||
"És un fragment de la llista d'asteroides completa\\.", | ||
"Es troba a la Xina\\." | ||
] |
Oops, something went wrong.