View Single Post
Old 11-08-2018, 01:24 PM   #180
CalibUser
Addict
CalibUser goes to eleven.CalibUser goes to eleven.CalibUser goes to eleven.CalibUser goes to eleven.CalibUser goes to eleven.CalibUser goes to eleven.CalibUser goes to eleven.CalibUser goes to eleven.CalibUser goes to eleven.CalibUser goes to eleven.CalibUser goes to eleven.
 
Posts: 203
Karma: 62362
Join Date: Jul 2015
Device: Sony
Quote:
Originally Posted by carmenchu View Post
Now. I have a have hit a snag on running the plugin: on the list of I found , i.e.:
cow-puncher --> cowpuncher
to-day --> today
But, looking in wikidictionary, both the words on the right have entries, the first as 'alternate spelling', the second as 'old form of' (the book is from the 1910's).
Thus being the case, I discarded the changes--which discards also everything else.
Would it be possible to either
-- make the hyphen changes optional
-- or allow for a 'custom exception list' of hyphens to keep?
I may mention that on editing OCR files without images of the original text, I use to deal with cases as above, by mimicking Kovid's heuristics: count occurences of with/without hyphen...
I have updated the plugin in the first post so that you can put hyphenated words that you want to keep in a text file that is loaded by the plugin.
CalibUser is offline   Reply With Quote