mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-24 20:22:41 +01:00
dictionaries: fixed hun_OCRFixReplaceList.xml RegEx rules
This commit is contained in:
parent
7b598c85c5
commit
9cc9aa65a9
@ -9,21 +9,17 @@
|
|||||||
<WholeLines />
|
<WholeLines />
|
||||||
<RegularExpressions>
|
<RegularExpressions>
|
||||||
<!-- nagy I-l javítások -->
|
<!-- nagy I-l javítások -->
|
||||||
<RegEx find="[\x41-\x5a\x61-\x7a\xc1-\xfc](II)" replaceWith="ll" />
|
<RegEx find="([\x41-\x5a\x61-\x7a\xc1-\xfc])II" replaceWith="$1ll" />
|
||||||
<RegEx find="(II)[\x61-\x7a\xe1-\xfc]" replaceWith="ll" />
|
<RegEx find="II([\x61-\x7a\xe1-\xfc])" replaceWith="ll$1" />
|
||||||
<RegEx find="[\x61-\x7a\xe1-\xfc](I)" replaceWith="l" />
|
<RegEx find="([\x61-\x7a\xe1-\xfc])I" replaceWith="$1l" />
|
||||||
<RegEx find="[\x20](I)[^aeou\x41-\x5a\xc1-\xdc]" replaceWith="l" />
|
<RegEx find="([\x20])I([^aeou\x41-\x5a\xc1-\xdc])" replaceWith="$1l$2" />
|
||||||
<RegEx find="\b(l)[bcdfghjklmnpqrstvwxz]" replaceWith="I" />
|
<RegEx find="\bl([bcdfghjklmnpqrstvwxz])" replaceWith="I$1" />
|
||||||
<RegEx find="\W(l)[bcdfghjklmnpqrstvwxz]" replaceWith="I" />
|
<RegEx find="([\x41-\x5a\xc1-\xdc])I([\x61-\x7a\xe1-\xfc])" replaceWith="$1l$2" />
|
||||||
<RegEx find="[\x41-\x5a\xc1-\xdc](I)[\x61-\x7a\xe1-\xfc]" replaceWith="l" />
|
<RegEx find="([\x61-\x7a\xe1-\xfc][\-])I([\x61-\x7a\xe1-\xfc])" replaceWith="$1l$2" />
|
||||||
<RegEx find="[\x61-\x7a\xe1-\xfc][\-](I)[\x61-\x7a\xe1-\xfc]" replaceWith="l" />
|
<RegEx find="([\x41-\x5a\xc1-\xdc])I([\-][\x41-\x5a\xc1-\xdc][\x61-\x7a\xe1-\xfc])" replaceWith="$1l$2" />
|
||||||
<RegEx find="[\x41-\x5a\xc1-\xdc](I)[\-][\x41-\x5a\xc1-\xdc][\x61-\x7a\xe1-\xfc]" replaceWith="l" />
|
<RegEx find="\b([AEÜÓ])I([^\x41-\x5a\xc1-\xdc])" replaceWith="$1l$2" />
|
||||||
<RegEx find="^[AEÜÓ](I)[^\x41-\x5a\xc1-\xdc]" replaceWith="l" />
|
<RegEx find="\bI([aáeéiíoóöuúüy\xf5\xfb])" replaceWith="l$1" />
|
||||||
<RegEx find="\W[AEÜÓ](I)[^\x41-\x5a\xc1-\xdc]" replaceWith="l" />
|
<RegEx find="\b(?:II|ll)" replaceWith="Il" />
|
||||||
<RegEx find="\b(I)[aáeéiíoóöuúüy\xf5\xfb]" replaceWith="l" />
|
<RegEx find="([\xf5\xfb])I" replaceWith="$1l" />
|
||||||
<RegEx find="\W(I)[aáeéiíoóöuúüy\xf5\xfb]" replaceWith="l" />
|
|
||||||
<RegEx find="\b(II)" replaceWith="Il" />
|
|
||||||
<RegEx find="\b(ll)" replaceWith="Il" />
|
|
||||||
<RegEx find="[\xf5\xfb](I)" replaceWith="l" />
|
|
||||||
</RegularExpressions>
|
</RegularExpressions>
|
||||||
</OCRFixReplaceList>
|
</OCRFixReplaceList>
|
Loading…
Reference in New Issue
Block a user