Spell checking german text

133 views
Skip to first unread message

TKlaeger

unread,
Dec 13, 2008, 11:04:05 AM12/13/08
to yWriter
Hello,

After some trying I found out how to add a german dictionary to
yWriter4.

However one problem bugs me:

In german we use characters like äöü, like in the word "verspätet",
which means "delayed". However the spellchecker does not accept this
characters in words, which means that although this word exists in my
dictionary, the spellchecker marks "versp" and "tet" as non-existings
words.

Regards,

Thomas

Simon Haynes

unread,
Dec 13, 2008, 10:28:48 PM12/13/08
to ywr...@googlegroups.com

TKlaeger wrote:

> Hello,
>
> After some trying I found out how to add a german dictionary to
> yWriter4.
>
> However one problem bugs me:
>

> In german we use characters like ???, like in the word "versp?tet",


> which means "delayed". However the spellchecker does not accept this
> characters in words, which means that although this word exists in my
> dictionary, the spellchecker marks "versp" and "tet" as non-existings
> words.
>
> Regards,
> Thomas

That's because words are cleaned of all but a-z, A-Z and numbers before checking. (Otherwise any word with punctuation would fail.)

However, I think yWriter 5 does it differently.

Cheers
Simon
--
Software designer & programmer
+ author of the Hal Spacejock series

emzalez

unread,
Dec 13, 2008, 10:59:04 PM12/13/08
to yWriter
To TKlaeger:

How did you do this? I mean to add a spell checker to ywiter. I just
created a word list in my language, and that is all. The program just
recognize if the word is there (in the list) or not.
> + author of the Hal Spacejock series- Hide quoted text -
>
> - Show quoted text -

TKlaeger

unread,
Dec 15, 2008, 9:37:34 AM12/15/08
to yWriter
To emzalez,

Thanks for your suggestion. I did the same as well, but as Simon
noted, words are cleaned of special characters before being spell
checked. And since some of the german word characters are cleaned as
well, the simple spell checker no longer recognizes these.

Case closed.

Regards,

Thomas

c Chaya

unread,
Dec 15, 2008, 6:15:23 PM12/15/08
to ywr...@googlegroups.com
I don't know the way around this problem in YWriter, but I've used spell-checkers in Nota Bene for years and it does just fine with all kinds of foreign accents and other foreign characters if you put them in the dictionary.
Chaya
--
Chaya
740.427.2650

Simon Haynes

unread,
Dec 18, 2008, 7:33:18 AM12/18/08
to ywr...@googlegroups.com

c Chaya wrote:

> I don't know the way around this problem in YWriter, but I've used
> spell-checkers in Nota Bene for years and it does just fine with all kinds
> of foreign accents and other foreign characters if you put them in the
> dictionary.
> Chaya

It's only happening because I designed the spell checker for English. I can stop it stripping out the other characters and then it will work for accented characters too.

Simon Haynes

unread,
Dec 18, 2008, 7:46:45 AM12/18/08
to ywr...@googlegroups.com

> c Chaya wrote:
>
> > I don't know the way around this problem in YWriter, but I've used
> > spell-checkers in Nota Bene for years and it does just fine with all kinds
> > of foreign accents and other foreign characters if you put them in the
> > dictionary.
> > Chaya
>
> It's only happening because I designed the spell checker for English. I can stop it stripping out the other characters and then it will work for accented characters too.
>
> Cheers
> Simon

I just rewrote a portion of the spell checker, and the next version should work fine with accented characters.

emzalez

unread,
Dec 18, 2008, 10:32:49 AM12/18/08
to yWriter
Simon, the word list I created works find, even with accented words.
Of course, Spanish doesn't have so special characters like German or
other languages I've seen, basicaly is as English.

BTW, I've not tested it in YW5, just in 4 where I'm writing
'seriously'.
Reply all
Reply to author
Forward
0 new messages