Bug 30988

Summary: AbiWord's american.hash dictionary appears corrupted/useless
Product: Ports & Packages Reporter: John Merryweather Cooper <john_m_cooper>
Component: Individual Port(s)Assignee: freebsd-gnome (Nobody) <gnome>
Status: Closed FIXED    
Severity: Affects Only Me CC: gnome
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description John Merryweather Cooper 2001-10-02 17:50:01 UTC
	The american.hash supplied with AbiWord (0.9.4) appears to be either
	corrupted or useless.  You know a spell checker is having a bad day
	when it marks words like "the", "a", and "an" as spelling errors--along
	with every other word.  Fortunately, the fix is easy!  :)

Fix: 

Steps:

	1) build/install the ispell port if you haven't already;
	2) compare the american.hash files in the two installs--

	${LOCALBASE}/share/AbiSuite/dictionary/american.hash  859352 bytes
	${LOCALBASE}/share/ispell/american.hash              5524040 bytes  :)

	3) rename AbiSuite's american.hash to american.hash.bad
	4) copy ispell's american.hash to AbiSuite/dictionary/american.hash

	. . . and observe how spell checking now works . . . :)

	NOTE:  This technique probably works for other languages too
	(untested).
How-To-Repeat: 	Load up or create an American English document.  Spell check it.  Enjoy
	how it marks every word as a spelling error.  :)
Comment 1 Ying-Chieh Liao freebsd_committer freebsd_triage 2001-10-22 07:24:40 UTC
Responsible Changed
From-To: freebsd-ports->gnome

over to maintainer
Comment 2 Maxim Sobolev freebsd_committer freebsd_triage 2001-12-06 13:30:06 UTC
State Changed
From-To: open->feedback

This is known problem. Unfortunately, the recipy provided in the PR doesn't 
quite work, all I'm getting after replacing hash: 
$ AbiWord 
Illegal format hash table /usr/local/share/AbiSuite/dictionary/american.hash - expected magic2 0x9602, got 0x0
Comment 3 John Merryweather Cooper 2001-12-15 07:25:58 UTC
Yes, it worked with the previous version of AbiWord, but not now.  Odd 
that they would change the format of the speller hash files.

--
jmc
Comment 4 Maxim Sobolev freebsd_committer freebsd_triage 2002-02-07 12:36:03 UTC
State Changed
From-To: feedback->closed

Abi finally fixed the problem with speller in Abiword 0.99.1. Please use 
usual cvsup magick to update your system. Thank you for reporting!