[prev in list] [next in list] [prev in thread] [next in thread] 

List:       aspell-user
Subject:    [Aspell-user] Re: How to get Aspell to not suggest profanities
From:       Derek Roff <derek () unm ! edu>
Date:       2007-07-08 17:15:38
Message-ID: 4D2FB3E4A29AF54EE1FE2B5C () d00-64-106-126-102 ! dhcp ! unm ! edu
[Download RAW message or body]

It seems to me that this issue could be most directly addressed at the 
dictionary level.  Removing the profanities from your chosen Aspell 
dictionary would prevent those words from being suggested.  This would 
be far more reliable than trying to guess all the possible words that 
might seem, to Aspell, similar enough to trigger the profanity 
suggestion.

By coincidence, Kevin Atkinson posted this response today:

> -- Is there a way to retrieve a plaintext, LF-delimited list of words 
from a
> .rws Aspell dictionary? I've seen information on how to create .rws
> dictionaries from lists of words, but not vice versa.

aspell dump master


I'm thinking that you could "dump" your dictionary word list, edit it 
as desired, re-encode it and solve your problem.  Whether the license 
for the dictionary that you use would permit you to remove words is 
another question.  I would hope so.

Good luck,

Derek Roff


--On Sunday, July 8, 2007 12:00 PM -0400 aspell-user-request@gnu.org 
wrote:

> Date: Sun, 8 Jul 2007 10:47:26 +1200
> From: "Skalk van der Merwe" <Skalk.vanderMerwe@vuw.ac.nz>
> Subject: [Aspell-user] How to get Aspell to not suggest profanities
> To: <aspell-user@gnu.org>
>
> Dear All
>
> Here at VUW we make use of the Aspell software to provide spelling
> corrections / suggestions for the Library Catalogue.
> http://victoria.lconz.ac.nz/
>
> Sometime when users search for a legitimate word Aspell would suggest
> a profanity.
> For example Cnut (England's Viking king) ; 'hispan? cuentes' and
> 'FCUK' all produced some profanities in our implementation of Aspell.
>
> In the past I just added the word that produced the profanity to
> custom dictionary. Aspell would of course now see these words as
> legitimate and not suggest a profanity. To do this effectively I need
> to know what words are likely to produce profanities, which in the
> long run is not a good proposition.
> So, is there a switch that one could use to turn of the profanities?
>
> Kind regards,
>
> Skalk
>
> Skalk van der Merwe
> Systems Support Librarian
> Victoria University of Wellington
> www.victoria.ac.nz/library



Derek Roff
Language Learning Center
Ortega Hall 129, MSC03-2100
University of New Mexico
Albuquerque, NM 87131-0001
505/277-7368, fax 505/277-3885
Internet: derek@unm.edu




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic