View Single Post
Old 11-07-2015, 03:46 PM   #115
Steadyhands
Connoisseur
Steadyhands began at the beginning.
 
Steadyhands's Avatar
 
Posts: 57
Karma: 10
Join Date: Dec 2011
Device: Samsung Tablet
Hi,

Thanks for a great plug in. I've been using an earlier release (0.1.1.1.1). I will wait for the 0.9.xx release of your plugin as I had a issue with Beautiful Soup install (win64 - Win 8.1) when I went to upgrade.

For years now I've been slowly building a saved search to tidy up epubs. I think there are a few in my total list that could be added to ePubTidyTool. I've got searches for Joining Paragraphs, Split Names Mr. , Mrs. Etc, broken or Split Speach, Common OCR Spelling Mistakes.

If you are interested I can send my sigil_searches.ini?

I've snipped a small bit out of the Contractions section as a sample. I need to go back and standardise these, some (but not all) include lower or upper case and punctuation.
Code:
15\Name=Common Fixes/Contractions/ard
15\Find=\\\x2018\x61rd
15\Replace=\x2019\x61rd
16\Name=Common Fixes/Contractions/bout
16\Find=\\\x2018([Bb])out
16\Replace=\x2019\\1out
17\Name=Common Fixes/Contractions/bye
17\Find=\\\x201c\\\x2018([B|b])ye([\\p{P}|\\s])
17\Replace="\x201c \x2019\\1ye\\2"
18\Name=Common Fixes/Contractions/appen
18\Find=\\\x2018([Aa])ppen([\\p{P}|\\s])
18\Replace=\x2019\\1ppen\\2
19\Name=Common Fixes/Contractions/atasad
19\Find=\\\x2018\x61([tsd])([\\p{P}|\\s])
19\Replace=\x2019\x61\\1\\2
20\Name=Common Fixes/Contractions/Ave
20\Find="\x2018([Aa])ve "
20\Replace="\x2019\\1ve "
21\Name=Common Fixes/Contractions/Cept
21\Find=\\\x2018([Cc])ept
21\Replace=\x2019\\1ept
22\Name=Common Fixes/Contractions/couse
22\Find=\\\x2018([Cc])ourse
22\Replace=\x2019\\1ourse
23\Name=Common Fixes/Contractions/cos
23\Find="\x2018([Cc])os "
23\Replace="\x2019\\1os "
24\Name=Common Fixes/Contractions/cause
24\Find=\\\x2018([Cc])ause
24\Replace=\x2019\\1ause
25\Name=Common Fixes/Contractions/cause2
25\Find=\\\x201c([Cc])ause(?![\x201d\x2019])
25\Replace=\x201c \x2019\\1ause
26\Name=Common Fixes/Contractions/Cuz
26\Find="\x201c([C|c])uz "
26\Replace="\x201c \x2019\\1uz "
27\Name=Common Fixes/Contractions/em
27\Find=([\x2018\x201c])em([\\p{P}|\\s])
27\Replace=\x2019\x65m\\2
28\Name=Common Fixes/Contractions/ell
28\Find=\\\x2018\x65ll\\s
28\Replace="\x2019\x65ll "
29\Name=Common Fixes/Contractions/Ere
29\Find=\\\x2018([Ee])re
29\Replace=\x2019\\1re
30\Name=Common Fixes/Contractions/er
30\Find=\x2018\x65r([\\p{P}|\\s])
30\Replace=\x2019\x65r\\1
31\Name=Common Fixes/Contractions/e
31\Find=\\\x2018([Ee])([\\p{P}|\\s])
31\Replace=\x2019\\1\\2
32\Name=Common Fixes/Contractions/ee
32\Find=\x2018\x65\x65([\\p{P}|\\s])
32\Replace=\x2019\x65\x65\\1
33\Name=Common Fixes/Contractions/ear
33\Find=\x2018\x65\x61r([\\p{P}|\\s])
33\Replace=\x2019\x65\x61r\\1
size=293
34\Name=Common Fixes/Contractions/eard
34\Find=\\\x2018\x65\x61rd
34\Replace=\x2019\x65\x61rd
35\Name=Common Fixes/Contractions/Fraid
35\Find=\\\x2018([Ff])raid([\\p{P}|\\s])
35\Replace=\x2019\\1raid\\2
36\Name=Common Fixes/Contractions/fore
36\Find=\x2018([Ff])ore\\s
36\Replace="\x2019\\1ore "
37\Name=Common Fixes/Contractions/im
Steadyhands is offline   Reply With Quote