Spell checker in German?

160 views
Skip to first unread message

Birgit Schultz

unread,
Nov 27, 2009, 4:29:00 AM11/27/09
to ywr...@googlegroups.com
Hi,

is there any chance to use the spell checker with a German dictionary?

Which steps would I have to take to install or copy it manually. Which
dictionary data format is used?

Thanks

Birgit

--
Imagination is intelligence having fun!

Bommi

unread,
Nov 28, 2009, 11:20:57 PM11/28/09
to yWriter
Hi Birgit.

German spellcheck is no problem. I don't know anything about the
format of this '12dicts', but via trial & error I found an easy way to
check german spelling.

Take a simple wordlist, where each word is followed by a CR (Carriage
Return), so one word per line is shown. Rename this file to
'5desk.txt' and copy it to the dict-folder. Done.

The textfile should contain nothing but the clean words.

You will find the folder 'dict' somewhere underneath 'Dokumente und
Einstellungen', if you did a regular installation (I did not, so this
folder appeared in my 'yWriter5' folder). If you have downloaded the
english dictionary-files from within yWriter, you will find the right
place by letting windows search for '2of12.txt' or '2of12inf.txt' or
'6of12.txt'.

yWriter (not the editor alone) has to be restarted, in order to load
the german wordlist/dictionary.

It's not easy, to find a elaborate wordlist. The dictionary from
Mozilla (for Firefox and Thunderbird) with 592.000 words would be
fine, but it contains additional signs. The same is true for the
OpenOffice-Dictionary. For sure there is a way to delete the extra-
signs without too much afford - I will find out next week. If someone
knows, how to delete any letter in a line following a slash (/) -
please let me know.

My wordlist with 421.000 entries I found on my harddisk. I don't know,
where it originally came from. If google.de or bing.com won't help,
Birgit, let me know and I will send you this file.

Bye, Bommi

Birgit Schultz

unread,
Nov 30, 2009, 3:04:35 AM11/30/09
to ywr...@googlegroups.com
Bommi,

exactly the information I was looking for. Thank you ever so much.

Birgit

2009/11/29 Bommi <gerhard....@googlemail.com>:
> --
>
> You received this message because you are subscribed to the Google Groups "yWriter" group.
> To post to this group, send email to ywr...@googlegroups.com.
> To unsubscribe from this group, send email to ywriter+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/ywriter?hl=en.

Birgit Schultz

unread,
Dec 2, 2009, 5:17:41 PM12/2/09
to ywr...@googlegroups.com
Hi Bommi,

you wrote:

"If someone
knows, how to delete any letter in a line following a slash (/) -
please let me know."

The solution is incredibly simple! I first thought of using one of
Notepad++ wonderful text tweaking plugins - but none seemed to do what
I wanted. Then I thought of linux grep and some regular expressions.
But I'm not good at those (I just know they exist and I got a pretty
good O'Reilly book on them but understanding this matter is not easy
for me).

Then it struck me: Import the file into Excel (from text file) and
give the slash / as a separating character. Then just have the first
"database" field imported. Export to a text-file again and you're
fine. Less than 2 minutes work! :)

Trevor Prinn

unread,
Dec 2, 2009, 5:42:03 PM12/2/09
to ywr...@googlegroups.com
I'm not sure how to construct a single regular expression to do it using
grep from the command line, but you can do it on one command line by
using two.

grep -o "^.*/" dictfile | grep -o "^.*[^/]"

Trevor Prinn

unread,
Dec 2, 2009, 5:48:36 PM12/2/09
to yWriter
Errrrr, forget that. It only includes lines that have a / in them in
the first place.

Trevor Prinn

unread,
Dec 2, 2009, 5:57:29 PM12/2/09
to ywr...@googlegroups.com
Got it right this time :-)

grep -o "^[^/]*" dictfile > newdictfile
Reply all
Reply to author
Forward
0 new messages