Merge pull request #83 from paconaranjo/patch-21

Update spa_OCRFixReplaceList.xml
This commit is contained in:
Nikolaj Olsson 2014-05-20 06:55:14 +02:00
commit efdbf7a18b

View File

@ -905,7 +905,10 @@
<!-- Miscelánea --> <!-- Miscelánea -->
<RegEx find="(\b[Cc]erca|\b[Ee]ncima|\b[Dd]ebajo|\b[Dd]etrás|\b[Dd]elante)(\s)mío" replaceWith="$1 de mí" /> <RegEx find="(\b[Cc]erca|\b[Ee]ncima|\b[Dd]ebajo|\b[Dd]etrás|\b[Dd]elante)(\s)mío" replaceWith="$1 de mí" />
<RegEx find="(\b[Cc]erca|\b[Ee]ncima|\b[Dd]ebajo|\b[Dd]etrás|\b[Dd]elante)(\s)tuyo" replaceWith="$1 de ti" /> <RegEx find="(\b[Cc]erca|\b[Ee]ncima|\b[Dd]ebajo|\b[Dd]etrás|\b[Dd]elante)(\s)tuyo" replaceWith="$1 de ti" />
<!-- Repeticiones de una palabra más de tres veces --> <!-- Repeticiones de palabras o frases (experimental) -->
<RegEx find="(([a-zá-ú]+)[\.,]\s[A-ZÁ-Úa-zá-ú]){2,}\1" replaceWith="$1$1" /> <!-- Ej. «No, no, no, no, no.» por «No, no, no.» -->
<RegEx find="(([a-zá-úñ]+)[\.,]\s[A-ZÁ-Úa-zá-úñ]){2,}\1" replaceWith="$1$1" />
<!-- Ej. «¡está aquí, está aquí, está aquí!» por «¡está aquí!» -->
<RegEx find="([\W\S]\s.{2}.+),\s(.+)\1([!?.])" replaceWith="$1$3" />
</RegularExpressions> </RegularExpressions>
</ReplaceList> </ReplaceList>