04-27-2014, 01:02 AM | #1 |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Smartening punctuation
Hi
It looks very tempting but I did not dare yet to use it because I am French and we have our own -strict- punctuation rules. Is there a way to customize this function to abide by our own needs or, at least, to check what exactly is performed on our files and if this is convenient for us? Last edited by roger64; 04-27-2014 at 01:08 AM. |
04-27-2014, 01:35 AM | #2 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Just like any global change it will create a checkpoint and you can use the differences feature. IIRC it will also automatically offer you in a popup to "see what changed".
Then you can revert if you need. calibre as an ebook version control system is pretty handy, evn if it is limited to one branch and session-only. Last edited by eschwartz; 04-27-2014 at 10:42 AM. Reason: typos |
Advert | |
|
04-27-2014, 02:11 AM | #3 |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Indeed the control point system is very handy. But, I can't help thinking I would feel better if I knew exactly what it is doing to smarten the punctuation in my language instead of having to check afterwards what has been corrected or broken.
Last edited by roger64; 04-27-2014 at 02:14 AM. |
04-27-2014, 08:10 AM | #4 |
Grand Sorcerer
Posts: 12,162
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
Just make a backup and experiment.
If it doesn't work properly, nothing lost but you could provide useful feedback on what is broken. Do you actually expect that an Indian developer, speaking English would know if your arcane language rules are handled correctly? |
04-27-2014, 08:24 AM | #5 | |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
|
|
Advert | |
|
04-27-2014, 10:14 AM | #6 | |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Quote:
@DoctorOhh I'll have a look. Thanks. Last edited by roger64; 04-27-2014 at 10:23 AM. |
|
04-27-2014, 10:31 AM | #7 |
Grand Sorcerer
Posts: 27,547
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I understand not wanting to smarten a whole book as a test. Backups or not. You couldn't possibly know what might have gone wrong without then proofreading the entire book for potential problems. No fun.
I recommend making a test ePub that consists of only one page. On that page, throw every possible scenario you can think of (a paragraph or even a sentence at a time), "smarten" it and check the results. Repeat until you are satisfied you know what's going on. |
04-27-2014, 10:41 AM | #8 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
@DiapDealer,
But the whole point of my suggestion is using the diff feature to tell what changed, so there is no need to proofread. Last edited by eschwartz; 04-27-2014 at 11:04 AM. |
04-27-2014, 11:00 AM | #9 | |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Quote:
Trying it on a French novel, I certainly will get a quick answer for the 10, maybe 20 most used punctuation signs. But punctuation is a world in itself. Who knows how some unusual sign could be rendered ? How some surprising mistakes could later pass unattended? Is it so difficult to understand that I am afraid that a tool primarily conceived by English-speaking coders (thanks to them) for English books could prove partially inadequate for other languages? Last edited by DoctorOhh; 04-27-2014 at 05:26 PM. Reason: fixed close quote |
|
04-27-2014, 11:11 AM | #10 | ||
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
Use Smarten, see what changed, decide if you like it. Repeat. Once you have gotten a feel for how Smarten works, you may decide to skip the check, but personally I would eyeball all automatic changes regardless of the situation. |
||
04-27-2014, 11:15 AM | #11 |
Color me gone
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
Roger64, perhaps you might go to the French forum and recruit some help there. Few of us English speakers could really understand the full nature of what you are talking about. I suspect few of understand the rules that even govern the English part. It should be second nature to the French speaking.
Since calibre is in Python, you might even get someone to help with coding, if that is the issue. I understand that you, like we English speakers, just want the program to work without having to go through extra motion just accomplish what we wish to do. |
04-27-2014, 11:20 AM | #12 | |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Quote:
Nevertheless, I'll have a try and report later. |
|
04-27-2014, 11:45 AM | #13 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Perhaps you will be the one to finally add language support to SmartyPants, then.
|
04-27-2014, 12:00 PM | #14 |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Sorry, but I never heard before about these "pants", I only reacted to the word "Punctuation". Maybe if the title had been "smarten your pants", I would have considered the thing differently.
|
04-27-2014, 12:56 PM | #15 | |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
You write the French regexes and I'm sure Kovid will add language checking to Smarten. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Punctuation - who knows where? | gmw | Writers' Corner | 13 | 08-03-2013 01:16 AM |
Strange punctuation | gafitz | Conversion | 8 | 01-15-2012 07:07 PM |
Punctuation problems | Halk | Calibre | 0 | 10-13-2011 09:02 PM |
Punctuation | Dresden | Calibre | 7 | 08-31-2010 05:14 AM |
Punctuation | jgray | Workshop | 10 | 04-14-2010 07:38 AM |