Share

Hunspell

File Release Notes and Changelog

Release Name: 1.2.2

Notes:
Files

hunspell-1.2.2.tar.gz       source distribution
hunspell-1.2.2-win32.zip    Windows binary distribution

NEWS

2008-04-12: Hunspell 1.2.2 release:
  - extended dictionary (dic file) support to use multiple base and
    special dictionaries.
    
  - new and improved options of command line hunspell:
    -m: morphological analysis or flag debug mode (without affix
        rule data it signs the flag of the affix rules)
    -s: stemming mode
    -D: list available dictionaries and search path
    -d: support extra dictionaries by comma separated list. Example:
    
    hunspell -d en_US,en_med,de_DE,de_med,de_geo UNESCO.txt

    - forbidding in personal dictionary (with asterisk, / signs affixation)

  - optional compressed dictionary format "hzip" for aff and dic files
    usage:
    hzip example.aff example.dic
    mv example.aff example.dic /tmp
    hunspell -d example
    hunzip example.aff.hz >example.aff
    hunzip example.dic.hz >example.dic

  - new affix compression tool "affixcompress": compression tool for
    large (millions of words) dictionaries.

  - support encrypted dictionaries for closed OpenOffice.org extensions or
    other commercial programs

  - improved manual

  - bug fixes



Changes: 2008-04-12 Németh László <nemeth at OOo>: * src/tools/hunspell.cxx: - Multilingual spell checking and special dictionary support with -d. Multilingual spell checking suggested by Khaled Hosny (SF.net Bug 1834280). Example for the new syntax: -d en_US,en_geo,en_med,de_DE,de_med en_US and de_DE are base dictionaries, and en_geo, en_med, de_med are special dictionaries (dictionaries without affix file). Special dictionaries are optional extension of the base dictionaries. There is no explicit naming convention for special dictionaries, only the ".dic" extension: dictionaries without affix file will be an extension of the preceding base dictionary. First dictionary in -d parameter must have an affix file (it must be a base dictionary). - new options for debugging, morphological analysis and stemming: -m: morphological analysis or flag debug mode (without affix rule data it signs the flag of the affix rules) -s: stemming mode -D: show also available dictionaries and search path (suggested by Aaron Digulla in SF.net Bug 1902133) - add missing refresh() to print bad words before the slower suggestion search in UI (better user experience) - fix tabulator problems (reported by ugli-kid-joe AT sf DOT net) - fix different encoding of dic and input, and suggestions - add per mille sign to LANG hu_HU section. - rewrite program messages. Concatenating multiple printfs for easier translation suggested by András Tímár and Gábor Kelemen. * src/hunspell/csutil.cxx: set static encds variable. Patch by Rene Engerhald. SF.net Bug 1896207 and 1939988. * src/hunspell/w_char.hxx,csutil.hxx: reorganizing w_char typedef and HENTRY_DATA, HENTRY_FIND consts * src/hunspell/hunzip.cxx: fopen(): using rb options instead of r (fix for Windows) * src/tools/affixmgr.cxx: restore original behaviour of get_wordchars in an #ifdef WINSHELL section. Problem reported by Ingo H. de Boer in SF.net Bug 1763105. * src/tools/chmorph.cxx: remove the experimental modifications * src/tools/hzip.c: fopen(): using wb options instead of w (fix for Windows) * src/tools/hunzip.cxx: add missing MOZILLA_CLIENT. Reported by Ryan VanderMeulen. * man/*, man/hu/*: updated manual * man/hunspell.4: fix formatting problem (missing header) * tools/makealias: now works with the extra data fields. * phonet.cxx: use HASHSIZE const * tests/rep.aff: fix REP count * src/win_api/Makefile.cygwin, README: native Windows compilation in Cygwin environment without cygwin1.dll dependency (see README for compiling instructions). 2008-04-08 Roland Smith <rsmith AT xs4all DOT nl>: * src/parsers/latexparser.cxx: fix PATTERN_LEN for AMD64 and other platforms with different struct padding (SF.net Bug 1937995). 2008-04-03 Kelemen Gábor <kelemeng AT gnome DOT hu>: * po/POTFILES.in: fix path of the source file * po/Makevars: add --from-code=UTF-8 gettext option * hunspell.cxx: add comments for shortkey translation 2008-02-04 Flemming Frandsen <flfr AT stibo DOT com> * src/hunspell.h: fix Windows DLL support - this patch also reported by Zoltán Bartkó. 2008-01-30 Mark McClain <marc_mcclain AT users DOT sf DOT net> * src/hunspell.cxx: stem(): fix function call side effect for PPC platform (SF.net Bug 1882105). 2008-01-30 Németh László <nemeth at OOo>: * hunspell.cxx, csutil.cxx, hunspelldll.c: fix SF.et Bug 1851246, patch also by Ingo H. de Boer. * hunspell.h: fix SF.net Bug 1856572 (C prototype problem), patch by Mark de Does. * hunspell.pc.in: fix SF.net Bug 1857450 wrong prefix, reported by Mark de Does. * hunspell.pc.in: reset numbering scheme: libhunspell-1.2. Fix SF.net Bug 1857512 reported by Mark de Does, also by Rene Engelhard. * csutil.cxx: patches for ARM platform, signed_chars.dpatch by Rene Engelhard and arm_structure_alignment.dpatch by Steinar H. Gunderson <sesse@debian.org> * hunzip.*, hzip.c: new hzip compression format * tools/affixcompressor: affix compressor utility (similar to munch, but it generates affix table automatically), works with million-words dictionaries of agglutinative languages. * README: fix problems reported by Pham Ngoc Khanh. * csutil.cxx, suggestmgr: Warning-free in OOo builds. * hashmgr.*, csutil.*: fix protected memory problems with stored pointers on several not x86 platforms by store_pointer(), get_stored_pointer(). * src/tools/hunspell.cxx: fix iconv support on Solaris platform. * tests/IJ.good: add missing test file * csutil.cxx: fix const char* related errors. Compiling bug with Visual C++ reported by Ryan VanderMeulen and Ingo H. de Boer. 2008-01-03 Caolan McNamara <cmc at OO.o>: * csutil.cxx: SF.net Bug 1863239, notrailingcomma patch and optimization of get_currect_cs().