View Single Post
Old 03-21-2015, 07:04 AM   #6
RobertDDL
Whatever...
RobertDDL ought to be getting tired of karma fortunes by now.RobertDDL ought to be getting tired of karma fortunes by now.RobertDDL ought to be getting tired of karma fortunes by now.RobertDDL ought to be getting tired of karma fortunes by now.RobertDDL ought to be getting tired of karma fortunes by now.RobertDDL ought to be getting tired of karma fortunes by now.RobertDDL ought to be getting tired of karma fortunes by now.RobertDDL ought to be getting tired of karma fortunes by now.RobertDDL ought to be getting tired of karma fortunes by now.RobertDDL ought to be getting tired of karma fortunes by now.RobertDDL ought to be getting tired of karma fortunes by now.
 
RobertDDL's Avatar
 
Posts: 197
Karma: 1114225
Join Date: Feb 2015
Location: Austria
Device: PocketBook InkPad 840, Touch HD 2
Quote:
Originally Posted by Jellby View Post
I'm afraid it's not so, you can have ‘single’ words or phrases between quotes, not to mention mistakes where the punctuation may be missing.
Mistakes, yes, but you are also right about ‘single’ words, I hadn't been thinking properly. Also titles can be put in quotes, like:

A faint type of both characters may be found in the Surinam Yarico of Captain John Gabriel Stedman, whose ‘Narrative of a Five Years’ Expedition’ appeared in 1796.

So, I guess, it cannot be done without manual checking. Am I right that an apostroph at the end of a word will only appear after an s? If that's true, then it should be possible to search for [sS]’[ .,;:!?—] (shouldn't be too many) and replace the ones that are closing quotes with an unambiguous placeholder -- and for the rest the rule "if followed or preceded by a letter it's an apostrophe" applies?

Does this work now?
RobertDDL is offline   Reply With Quote