mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 19:22:53 +01:00
Improve casing in OCR for italian letter "Ú"
This commit is contained in:
parent
f3851593ef
commit
c3c3aac69f
@ -2747,11 +2747,10 @@ namespace Nikse.SubtitleEdit.Forms.Ocr
|
||||
return c;
|
||||
}
|
||||
|
||||
|
||||
private static readonly HashSet<string> UppercaseLikeLowercase = new HashSet<string> { "V", "W", "U", "S", "Z", "O", "X", "Ø", "C" };
|
||||
private static readonly HashSet<string> LowercaseLikeUppercase = new HashSet<string> { "v", "w", "u", "s", "z", "o", "x", "ø", "c" };
|
||||
private static readonly HashSet<string> UppercaseWithAccent = new HashSet<string> { "Č", "Š", "Ž", "Ś", "Ż", "Ś", "Ö", "Ü", "Ï", "Í", "Ç", "Ì", "Ò", "Ù", "Ó", "Í" };
|
||||
private static readonly HashSet<string> LowercaseWithAccent = new HashSet<string> { "č", "š", "ž", "ś", "ż", "ś", "ö", "ü", "ï", "í", "ç", "ì", "ò", "ù", "ó", "í" };
|
||||
private static readonly HashSet<string> UppercaseWithAccent = new HashSet<string> { "Č", "Š", "Ž", "Ś", "Ż", "Ś", "Ö", "Ü", "Ú", "Ï", "Í", "Ç", "Ì", "Ò", "Ù", "Ó", "Í" };
|
||||
private static readonly HashSet<string> LowercaseWithAccent = new HashSet<string> { "č", "š", "ž", "ś", "ż", "ś", "ö", "ü", "ú", "ï", "í", "ç", "ì", "ò", "ù", "ó", "í" };
|
||||
|
||||
/// <summary>
|
||||
/// Fix uppercase/lowercase issues (not I/l)
|
||||
|
Loading…
Reference in New Issue
Block a user