![]() |
#76 | |
Zealot
![]() Posts: 105
Karma: 10
Join Date: Oct 2013
Device: none
|
Quote:
|
|
![]() |
![]() |
![]() |
#77 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,611
Karma: 29710338
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
AnselmD - thanks for your suggestions I'll look into them. My query has nothing to do with Sigil (or ePUB), so I'd rather not respond further here.
I wouldn't object if someone moved my original post and related replies to a new thread ('Hunspell Tools') in the Workshop forum. BR |
![]() |
![]() |
Advert | |
|
![]() |
#78 | |
Zealot
![]() Posts: 105
Karma: 10
Join Date: Oct 2013
Device: none
|
Quote:
brennt's brennts Code:
brennt's bring's bringt's den's du's er's gab's geht's genügt's ging's hätt's hab's haben's halt's hol's ich's ihr's ist's kann's kommt's möcht's mach's macht's mir's nimm's ob's sag's seh's sie's sieht's steht's stimmt's tu's tut's um's versuch's wär's war's wie's wir's wirf's |
|
![]() |
![]() |
![]() |
#79 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,623
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Hi
Nearly three years ago, on the Calibre editor forum, we discussed the usefulness of spellchecking elided forms. Here is a comment from the maintainer of the Grammalecte extension for the French language about this topic and a way to deal with it for its language. Hope this helps. https://www.mobileread.com/forums/sh...0&postcount=47 Note: French mainly use typographical (curved) apostrophes, at least for literary texts. |
![]() |
![]() |
![]() |
#80 |
Zealot
![]() Posts: 105
Karma: 10
Join Date: Oct 2013
Device: none
|
Bjoern Jacke <bjoern [at] j3e.de> seems to be the responsible for the German old and new spell dictionaries. You can find it at the top of the .aff files.
This is his page: Ispell/Hunspell German, German Ispell Dictionary - Wörterbuch igerman98, Sprache: Deutsch https://www.j3e.de/ispell/igerman98/ An English summary: Ispell/Hunspell German, German Ispell Dictionary - Wörterbuch igerman98, Sprache: Deutsch https://www.j3e.de/ispell/igerman98/index_en.html Online spell checker https://www.j3e.de/cgi-bin/spellchecker The following lines are error free at his online spellchecker: Halt’s Maul! Macht’s gut! Da gab’s keinen! Ich hab’s! Wie geht’s? Halt's Maul! Macht's gut! Da gab's keinen! Ich hab's! Wie geht's? What might be the difference between his hunspell checker / directory and the version in Sigil? |
![]() |
![]() |
Advert | |
|
![]() |
#81 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,444
Karma: 5703082
Join Date: Nov 2009
Device: many
|
The dictionary being used.
I downloaded his latest source code and geht's was not in the wordlist and the .aff file has no suffix for it. My guess is he has written his own text parser that splits words at the single quote and assumes any word of length 1 is correct as a letter of the alphabet. Last edited by KevinH; 01-24-2017 at 10:19 AM. |
![]() |
![]() |
![]() |
#82 |
Zealot
![]() Posts: 105
Karma: 10
Join Date: Oct 2013
Device: none
|
Only for interest:
Adobe has Spelling Dictionary Packs (see add-ons) Adobe - Adobe Reader : For Windows http://supportdownloads.adobe.com/pr...atform=Windows Unpacking the .msi and the data1.cab file in it. There are the .add and .dic files and the GNU licencs files. Additional there is an affdescription.txt I think it's based on something public, but maybe it gives some additional information for someone who is interested in the .aff format. |
![]() |
![]() |
![]() |
#83 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,680
Karma: 23983815
Join Date: Dec 2010
Device: Kindle PW2
|
@AnselmD: According to my tests with dialog-heavy German books, the number of contractions was on average significantly less than .005%. I.e., they're pretty much negligible and should be best handled with a custom word list.
BTW, the Sigil Python plugin interface has native Hunspell support. If you're a perfectionist, you could write an edit plugin that does the following:
In case you're wondering how to get the local user_dictionaries folder, you can find it with the following Python code: Code:
#!/usr/bin/env python import os def run(bk): user_dictionary_path = os.path.join(os.path.dirname(bk._w.plugin_dir), 'user_dictionaries') print(user_dictionary_path) return 0 |
![]() |
![]() |
![]() |
#84 | |
Zealot
![]() Posts: 105
Karma: 10
Join Date: Oct 2013
Device: none
|
Quote:
As i said before, i will do that. I was asked for a word list, therefore i started to deliver one. Just find out, if i have the apostrophe at the beginning of the word, i am not allowed to store it. With apostrophe at the begin of the word in the user dictionary, it is detected as misspelled. Was 'n Glück! Haste mal 'nen Euro? So 'n Blödsinn! Steffi ist 'ne tolle Sportlerin. I have to store nen and ne and not 'nen and 'ne. Hihi, no i am not. I will type a ’ curly apostrophe to the filter of the spell check dialogue. I will add each word manually with the dialogue to the user dictionary. This could be a little bit more comfortable, the next word in the list is not marked automatically. I will open the dictionary with a text editor as UTF-8 and replace all curly apostrophe with straight one. Last edited by AnselmD; 01-25-2017 at 12:52 PM. |
|
![]() |
![]() |
![]() |
Tags |
bug report, feature request, punctuation, sigil, unicode |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Spellcheck and some notes. | brolny | Sigil | 0 | 11-24-2015 04:37 AM |
SpellCheck - Abbreviation(?) Apostrophes | Paulie_D | Editor | 10 | 01-08-2015 08:22 AM |
Request for future spellcheck | mrmikel | Editor | 1 | 03-21-2014 11:42 AM |
Quick and Dirty Spellcheck? | ManosHandsOfFate | Workshop | 3 | 03-07-2014 02:41 PM |
SPELLCHECK NATION: Does SpellCheck have a dark side? | cbaehr | Self-Promotions by Authors and Publishers | 10 | 11-07-2010 12:45 PM |