New
This commit is contained in:
26
tools/SubtitleEdit/Dictionaries/hun_OCRFixReplaceList.xml
Normal file
26
tools/SubtitleEdit/Dictionaries/hun_OCRFixReplaceList.xml
Normal file
@@ -0,0 +1,26 @@
|
||||
<?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>
|
||||
Reference in New Issue
Block a user