View Single Post
Old 01-20-2017, 11:18 AM   #27
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,737
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
Hi KevinH,

Quote:
Originally Posted by KevinH View Post
With the OLDSPELL it has the wrong WORDCHARS for handling anything related to possesives or contractions:

WORDCHARS ß-.'’
If understand the definition of WORDCHARS correctly, the characters in this list are special characters that otherwise would be considered word delimiters. If that's the case, the German WORDCHARS list, should be identical to the English WORDCHARS list, because the 1996 spelling reform officially sanctioned the use of English style possessive constructions with straight and curly apostrophes in German. (The pre-1996 spelling rules only allowed straight and curly apostrophes in contracted words.)

I.e., WORDCHARS ß-.'’ should be OK for German, because properly spelled German words might contain full stops, hyphens and straight or curly apostrophes. They also may contain the ß character, but only in the middle and at the end of words.
I'm a bit puzzled as to why the dictionary deverlopers specifically added the ß character, but not the other German umlauts (äöü).

However, when I added WORDCHARS ß-.'’ to a utf-8 version of the latest de_De_frami.aff file, it appeared to have no effect, because contracted words such as gabs were still flagged as typos.

Gab, which is the first part of gabs (= gab + es), is in the spelling dictionary, which you can test by inserting a space before the apostrophe. I'd have expected the spell checker to ignore this word because gab is in the dictionary.

Since German words may contain curly apostrophes, the German affix file should also contain:

Code:
ICONV 1
ICONV ’ '
OCONV 1
OCONV ' ’
However, users, who want to save curly apostrophes in user dictionaries, would have to comment out this section.

D.

Last edited by Doitsu; 01-20-2017 at 01:47 PM.
Doitsu is offline   Reply With Quote