mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 03:02:35 +01:00
Work on ocr
This commit is contained in:
parent
be3c48149c
commit
87af4f872c
@ -1976,6 +1976,8 @@
|
||||
<Word from="bomberjust" to="bomber just" />
|
||||
<Word from="Ilovedit" to="I loved it" />
|
||||
<Word from="PIaza" to="Plaza" />
|
||||
<Word from="youll" to="you'll" />
|
||||
<Word from="Icould" to="I could" />
|
||||
</WholeWords>
|
||||
<PartialWordsAlways>
|
||||
<!-- Will be replaced always -->
|
||||
@ -2431,9 +2433,13 @@
|
||||
<Beginning from="He' s " to="He's " />
|
||||
<Beginning from="She' s " to="She's " />
|
||||
<Beginning from="O kay, " to="Okay, " />
|
||||
<Beginning from="l didn't" to="I didn't" />
|
||||
<Beginning from="l don't" to="I don't" />
|
||||
<Beginning from="-1 " to="- I" />
|
||||
<Beginning from="l didn't" to="I didn't" />
|
||||
<Beginning from="l don't" to="I don't" />
|
||||
<Beginning from="-1 " to="- I" />
|
||||
<Beginning from="I'II " to="I'll " />
|
||||
<Beginning from="Do l " to="Do I " />
|
||||
<Beginning from="-] " to="- I " />
|
||||
<Beginning from="] " to="I " />
|
||||
</BeginLines>
|
||||
<EndLines>
|
||||
<Ending from=", sin" to=", sir." />
|
||||
@ -2469,7 +2475,6 @@
|
||||
<RegEx find="^-1t (\p{L})" replaceWith="- It $1" />
|
||||
<RegEx find="^-_\.(\p{L})" replaceWith="- ...$1" />
|
||||
<RegEx find="^_\.\.(\p{L})" replaceWith="...$1" />
|
||||
|
||||
<!-- <RegEx find="(\p{L}{2,})"s " replaceWith="$1's " /> -->
|
||||
<!-- <RegEx find="(\p{L}{2,})"s " replaceWith="$1's " /> -->
|
||||
</RegularExpressions>
|
||||
</OCRFixReplaceList>
|
||||
</OCRFixReplaceList>
|
@ -5162,6 +5162,7 @@ This file is generated/updated by Multi Translator
|
||||
<name>Sánchez</name>
|
||||
<name>Sancho</name>
|
||||
<name>Sanders</name>
|
||||
<name>Sanderson</name>
|
||||
<name>Sandra</name>
|
||||
<name>Sandy</name>
|
||||
<name>Sanjay</name>
|
||||
|
@ -6971,9 +6971,7 @@ namespace Nikse.SubtitleEdit.Forms.Ocr
|
||||
DialogResult result = saveFileDialog1.ShowDialog(this);
|
||||
if (result == DialogResult.OK)
|
||||
{
|
||||
_fromMenuItem = true;
|
||||
Bitmap bmp = GetSubtitleBitmap(_selectedIndex);
|
||||
_fromMenuItem = false;
|
||||
var bmp = GetSubtitleBitmap(_selectedIndex);
|
||||
if (bmp == null)
|
||||
{
|
||||
MessageBox.Show("No image!");
|
||||
|
Loading…
Reference in New Issue
Block a user