mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 03:02:35 +01:00
Added Hungarian ocr fix replace list - thx mia :)
This commit is contained in:
parent
7e84d8af75
commit
59b161eba2
19
Dictionaries/hun_OCRFixReplaceList.xml
Normal file
19
Dictionaries/hun_OCRFixReplaceList.xml
Normal file
@ -0,0 +1,19 @@
|
||||
<ReplaceList>
|
||||
<!-- nagy I-l javítások -->
|
||||
<RegEx Find="[\x41-\x5a\x61-\x7a\xc1-\xfc](II)" replaceWith="ll"/>
|
||||
<RegEx Find="(II)[\x61-\x7a\xe1-\xfc]" replaceWith="ll"/>
|
||||
<RegEx Find="[\x61-\x7a\xe1-\xfc](I)" replaceWith="l"/>
|
||||
<RegEx Find="[\x20](I)[^aeou\x41-\x5a\xc1-\xdc]" replaceWith="l"/>
|
||||
<RegEx Find="\b(l)[bcdfghjklmnpqrstvwxz]" replaceWith="I"/>
|
||||
<RegEx Find="\W(l)[bcdfghjklmnpqrstvwxz]" replaceWith="I"/>
|
||||
<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="l"/>
|
||||
<RegEx Find="[\x41-\x5a\xc1-\xdc](I)[\-][\x41-\x5a\xc1-\xdc][\x61-\x7a\xe1-\xfc]" replaceWith="l"/>
|
||||
<RegEx Find="^[AEÜÓ](I)[^\x41-\x5a\xc1-\xdc]" replaceWith="l"/>
|
||||
<RegEx Find="\W[AEÜÓ](I)[^\x41-\x5a\xc1-\xdc]" replaceWith="l"/>
|
||||
<RegEx Find="\b(I)[aáeéiíoóöuúüy\xf5\xfb]" replaceWith="l"/>
|
||||
<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"/>
|
||||
</ReplaceList>
|
@ -203,6 +203,7 @@ Source: ..\Dictionaries\fin_OCRFixReplaceList.xml; DestDir: {userappdata}\Subtit
|
||||
Source: ..\Dictionaries\fr_FR_names_etc.xml; DestDir: {userappdata}\Subtitle Edit\Dictionaries; Flags: ignoreversion onlyifdoesntexist uninsneveruninstall; Components: main
|
||||
Source: ..\Dictionaries\fra_OCRFixReplaceList.xml; DestDir: {userappdata}\Subtitle Edit\Dictionaries; Flags: ignoreversion onlyifdoesntexist uninsneveruninstall; Components: main
|
||||
Source: ..\Dictionaries\hrv_OCRFixReplaceList.xml; DestDir: {userappdata}\Subtitle Edit\Dictionaries; Flags: ignoreversion onlyifdoesntexist uninsneveruninstall; Components: main
|
||||
Source: ..\Dictionaries\hun_OCRFixReplaceList.xml; DestDir: {userappdata}\Subtitle Edit\Dictionaries; Flags: ignoreversion onlyifdoesntexist uninsneveruninstall; Components: main
|
||||
Source: ..\Dictionaries\names_etc.xml; DestDir: {userappdata}\Subtitle Edit\Dictionaries; Flags: ignoreversion onlyifdoesntexist uninsneveruninstall; Components: main
|
||||
Source: ..\Dictionaries\nld_OCRFixReplaceList.xml; DestDir: {userappdata}\Subtitle Edit\Dictionaries; Flags: ignoreversion onlyifdoesntexist uninsneveruninstall; Components: main
|
||||
Source: ..\Dictionaries\nor_OCRFixReplaceList.xml; DestDir: {userappdata}\Subtitle Edit\Dictionaries; Flags: ignoreversion onlyifdoesntexist uninsneveruninstall; Components: main
|
||||
@ -513,6 +514,7 @@ begin
|
||||
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Dictionaries\fr_FR_names_etc.xml'));
|
||||
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Dictionaries\fra_OCRFixReplaceList.xml'));
|
||||
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Dictionaries\hrv_OCRFixReplaceList.xml'));
|
||||
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Dictionaries\hun_OCRFixReplaceList.xml'));
|
||||
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Dictionaries\names_etc.xml'));
|
||||
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Dictionaries\nld_OCRFixReplaceList.xml'));
|
||||
DeleteFile(ExpandConstant('{userappdata}\Subtitle Edit\Dictionaries\nor_OCRFixReplaceList.xml'));
|
||||
|
Loading…
Reference in New Issue
Block a user