SubtitleEdit/Dictionaries/hun_OCRFixReplaceList.xml
2019-08-10 21:50:57 +02:00

26 lines
1.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<OCRFixReplaceList>
<WholeWords />
<PartialWordsAlways />
<PartialWords />
<WholeLines />
<PartialLinesAlways />
<PartialLines />
<BeginLines />
<EndLines />
<RegularExpressions>
<!-- nagy I-l javítások -->
<RegEx find="([\x41-\x5a\x61-\x7a\xc1-\xfc])II" replaceWith="$1ll" />
<RegEx find="II([\x61-\x7a\xe1-\xfc])" replaceWith="ll$1" />
<RegEx find="([\x61-\x7a\xe1-\xfc])I" replaceWith="$1l" />
<RegEx find="([\x20])I([^aeou\x41-\x5a\xc1-\xdc])" replaceWith="$1l$2" />
<RegEx find="\bl([bcdfghjklmnpqrstvwxz])" replaceWith="I$1" />
<RegEx find="([\x41-\x5a\xc1-\xdc])I([\x61-\x7a\xe1-\xfc])" replaceWith="$1l$2" />
<RegEx find="([\x61-\x7a\xe1-\xfc][\-])I([\x61-\x7a\xe1-\xfc])" replaceWith="$1l$2" />
<RegEx find="([\x41-\x5a\xc1-\xdc])I([\-][\x41-\x5a\xc1-\xdc][\x61-\x7a\xe1-\xfc])" replaceWith="$1l$2" />
<RegEx find="\b([AEÜÓ])I([^\x41-\x5a\xc1-\xdc])" replaceWith="$1l$2" />
<RegEx find="\bI([aáeéiíoóöuúüy\xf5\xfb])" replaceWith="l$1" />
<RegEx find="\b(?:II|ll)" replaceWith="Il" />
<RegEx find="([\xf5\xfb])I" replaceWith="$1l" />
</RegularExpressions>
</OCRFixReplaceList>