mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 04:33:04 +01:00
Merge pull request #974 from xylographe/ocrsrp
Updated Serbian OCRFixReplaceList
This commit is contained in:
commit
8da3c72629
@ -91,7 +91,7 @@
|
||||
<RegEx find="(?<=\w),"(?=\s|$)" replaceWith=""," />
|
||||
<RegEx find=",\.{3}|\.{3},|\.{2} \." replaceWith="..." />
|
||||
<!-- "1 :", "2 :"... "n :" to "n:" -->
|
||||
<RegEx find="(\d) +: +(\D)" replaceWith="$1: $2" />
|
||||
<RegEx find="([0-9]) +: +(\D)" replaceWith="$1: $2" />
|
||||
<!-- Two or more consecutive "," to "..." -->
|
||||
<RegEx find=",{2,}" replaceWith="..." />
|
||||
<!-- Two or more consecutive "-" to "..." -->
|
||||
@ -112,10 +112,10 @@
|
||||
<RegEx find="\b0(?=[A-ZČĐŠŽa-zčđšž])" replaceWith="O" />
|
||||
<!-- Brisanje crte - na početku 1. reda (i kada ima dva reda) -->
|
||||
<RegEx find="\A- ?([A-ZČĐŠŽa-zčđšž0-9„'"]|\.{3})" replaceWith="$1" />
|
||||
<RegEx find="\A(<[i|b|u]>)- ?" replaceWith="$1" />
|
||||
<RegEx find="\A(<[ibu]>)- ?" replaceWith="$1" />
|
||||
<RegEx find=" - " replaceWith=" -" />
|
||||
<!-- Brisanje razmaka iza crte - na početku 2. reda -->
|
||||
<RegEx find="(?<=\n(<[i|b|u]>)?)- (?=[A-ZČĐŠŽčš0-9„'"<])" replaceWith="-" />
|
||||
<RegEx find="(?<=\n(<[ibu]>)?)- (?=[A-ZČĐŠŽčš0-9„'"<])" replaceWith="-" />
|
||||
<!-- Korigovanje crte - kad je u sredini prvog reda -->
|
||||
<RegEx find="([.!?">]) - ([A-ZČĐŠŽčš'"<])" replaceWith="$1 -$2" />
|
||||
<!-- Zatvoren tag pa razmak poslije crtice -->
|
||||
@ -163,7 +163,7 @@
|
||||
<!-- <RegEx find="([A-Za-z])ti( |\r?\n)(š[eu])" replaceWith="$1t$2$3" /> -->
|
||||
<!-- <RegEx find="(?i)\b(ni)t (š[eu])" replaceWith="$1ti $2" /> -->
|
||||
<!-- Razmak poslije <i> i poslije .. -->
|
||||
<RegEx find="^(<[i|b|u]>) +" replaceWith="$1" />
|
||||
<RegEx find="^(<[ibu]>) +" replaceWith="$1" />
|
||||
<RegEx find="^\.{2} +" replaceWith="..." />
|
||||
<!-- Razmak ? "</i> -->
|
||||
<RegEx find="([.?!]) +("<)" replaceWith="$1$2" />
|
||||
|
Loading…
Reference in New Issue
Block a user