[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#19558: ispell in 24.4: hunspell cannot check German text

From: Heinz Rommerskirchen
Subject: bug#19558: ispell in 24.4: hunspell cannot check German text
Date: Sat, 10 Jan 2015 15:02:53 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

When using hunspell ispell cannot check German texts.

To recreate the problem create a file containing only the one line
> zwanzigjährigen Arbeitszeit bei der Motorenfabrik Jank gebracht.
(This is a valid fragment of German, but 'Jank' is a proper name unknown
to hunspell). I have used both latin-0 and utf8 encoding with no visible
$ emacs -Q
in *scratch buffer execute (setq ispell-program-name "hunspell")
open the file and type M-x ispell.
I got the error message
ispell-process-line: Ispell misalignment: word `Jank' point 52; probably
incompatible versions

If you delete the first word in the file, ispell works fine and flags
the unknown 'Jank'.

hunspell on the command line has no problems with this files.
I was also able to use hunspell by adding the following to my start files
(add-to-list 'ispell-local-dictionary-alist '("deutsch" "[[:alpha:]]" "[^[:alpha:]]" "[']" t ("-d" "de_DE") nil iso-8859-1))

'hunspell --version' gives
> $ hunspell --version
> @(#) International Ispell Version 3.2.06 (but really Hunspell 1.3.2)
> Copyright (C) 2002-2008 László Németh. License: MPL/GPL/LGPL.
> Based on OpenOffice.org's Myspell library.
> Myspell's copyright (C) Kevin Hendricks, 2001-2002, License: BSD.
> This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE,
> to the extent permitted by law.
and 'hunspell -D' gives
> .::/usr/share/hunspell:/usr/share/myspell:/usr/share/myspell/dicts:/Library/Spelling:/home/hz/.openoffice.org/3/user/wordbook:.openoffice.org2/user/wordbook:.openoffice.org2.0/user/wordbook:Library/Spelling:/opt/openoffice.org/basis3.0/share/dict/ooo:/usr/lib/openoffice.org/basis3.0/share/dict/ooo:/opt/openoffice.org2.4/share/dict/ooo:/usr/lib/openoffice.org2.4/share/dict/ooo:/opt/openoffice.org2.3/share/dict/ooo:/usr/lib/openoffice.org2.3/share/dict/ooo:/opt/openoffice.org2.2/share/dict/ooo:/usr/lib/openoffice.org2.2/share/dict/ooo:/opt/openoffice.org2.1/share/dict/ooo:/usr/lib/openoffice.org2.1/share/dict/ooo:/opt/openoffice.org2.0/share/dict/ooo:/usr/lib/openoffice.org2.0/share/dict/ooo
> AVAILABLE DICTIONARIES (path is not mandatory for -d option):
> /usr/share/myspell/en_US
> /usr/share/myspell/de_DE
> /usr/share/myspell/de_DE.aff
> /usr/share/myspell/de_DE.dic
> Hunspell 1.3.2

In GNU Emacs 24.4.1 (x86_64-suse-linux-gnu, GTK+ Version 3.6.4)
 of 2014-10-29 on cloud103
Windowing system distributor `The X.Org Foundation', version 11.0.11302000
System Description:     openSUSE 12.3 (x86_64)

Configured using:
 `configure --with-pop --without-hesiod --with-kerberos --with-kerberos5
 --with-xim --with-wide-int --with-file-notification=inotify

 --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
 --datadir=/usr/share --localstatedir=/var --sharedstatedir=/var/lib
 --libexecdir=/usr/lib --with-x --with-sound --with-xpm --with-jpeg
 --with-tiff --with-gif --with-png --with-rsvg --with-dbus --without-gpm
 --with-x-toolkit=gtk3 --x-includes=/usr/include
 --x-libraries=/usr/lib64 --with-xft --with-libotf --with-m17n-flt
 --build=x86_64-suse-linux 'CFLAGS=-fmessage-length=0 -O2 -Wall
 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
 -fasynchronous-unwind-tables -g -D_GNU_SOURCE -pipe -Wno-pointer-sign
 -Wno-unused-variable -Wno-unused-label -Wno-unprototyped-calls
 -fno-optimize-sibling-calls -DSYSTEM_PURESIZE_EXTRA=55000

Important settings:
  value of $LC_COLLATE: C
  value of $LC_NUMERIC: POSIX
  value of $LANG: de_DE.UTF-8
  value of $XMODIFIERS: @im=local
  locale-coding-system: utf-8-unix

Major mode: Text

Minor modes in effect:
  tooltip-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<help-echo> <down-mouse-2> <mouse-2> C-S-j C-x C-f
t m p . t x t <return> M-x i s p e l l <return> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <menu-bar> <help-menu> <se

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Mark set
Starting new Ispell process hunspell with default dictionary...
Spell-checking tmp.txt using hunspell with default dictionary...done
ispell-process-line: Ispell misalignment: word `Jank' point 52; probably incompatible versions

Load-path shadows:
None found.

(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util help-fns mail-prsvr mail-utils ispell time-date delsel lpr
tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel
x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list
newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai
tai-viet lao korean japanese hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help
simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp
files text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process
dbusbind inotify dynamic-setting system-font-setting font-render-setting
move-toolbar gtk x-toolkit x multi-tty emacs)

Memory information:
((conses 16 74299 8240)
 (symbols 48 18008 0)
 (miscs 40 43 163)
 (strings 32 10328 4490)
 (string-bytes 1 283385)
 (vectors 16 9133)
 (vector-slots 8 387069 15398)
 (floats 8 63 290)
 (intervals 56 250 0)
 (buffers 960 12)
 (heap 1024 18487 970))

Dr. Heinrich Rommerskirchen
Prof.-Schmid-Str. 41
82140 Olching

Tel. 08142 28787

Email address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]