![]() |
#16 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,549
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Or a quote mark (in any flavour: ', ", », ’, ”; including German versions: “, ‘, «), or a closing parenthesis (or bracket), or a dash, or a colon, or a question mark, or an ellipsis (…, as a single character), or the HTML entity for any of them (which ends in a semicolon)...
|
![]() |
![]() |
![]() |
#17 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
Quote:
I mentioned quote ( mark) - I am not fussed about foreign version - I only read English text..... question mark is a fair cop.... when I was taught English grammar at school, then colon and dash were not valid sentence endings - I would not necessarily expect a line feed to follow either of those - the 3 dot ellipses will be caught by the test for a single full stop - I am not convinced that a line feed should always follow an ellipses ( which is good as that would be a hard case to add to the regex ! ) I guess there will never be "one regex to rule them all" but I am happy if I can automate 99% of repairs PS. according to this link http://grammar.about.com/od/punctuat...punctrules.htm there are only 3 valid ways to end an English sentence. but of course - not all authors/publishers abide by the rules.... Last edited by cybmole; 01-14-2011 at 04:36 AM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#18 | ||||
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,549
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
True, I missed it, sorry.
Quote:
Quote:
Quote:
Quote:
|
||||
![]() |
![]() |
![]() |
#19 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
i thought I had this all figure out & them I come across
Mr. Smith and Mrs. Jones which should be one line not 3. ( names have been changed ). I have a book with line feeds after both Mr. and Mrs. - not sure If I put them there or if they were there all along... or if calibre structure detect did it... I guess there's also Doc. Smith & Prof. Jones to worry about but let's not get too carried way... Last edited by cybmole; 01-23-2011 at 12:47 PM. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
fixing broken button (guide) | ashadocat | Sony Reader Dev Corner | 0 | 10-01-2009 01:52 AM |
Unutterably Silly Memorable FIRST SENTENCES - Only Yours, please | Dr. Drib | Lounge | 431 | 02-13-2009 04:57 AM |
Unutterably Silly Final sentences | pshrynk | Lounge | 97 | 02-08-2009 11:45 AM |
Sentences We Love | Dr. Drib | Sony Reader | 110 | 07-13-2007 10:44 PM |