NetBSD-Bugs archive

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

bin/48684: spell(1) is lacking



>Number:         48684
>Category:       bin
>Synopsis:       spell(1) is lacking
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 27 01:40:00 +0000 2014
>Originator:     David A. Holland
>Release:        NetBSD 6.99.28 (20131210)
>Organization:
>Environment:
System: NetBSD valkyrie 6.99.28 NetBSD 6.99.28 (VALKYRIE) #14: Tue Dec 10 
15:15:49 EST 2013  dholland@valkyrie:/usr/src/sys/arch/amd64/compile/VALKYRIE 
amd64
Architecture: x86_64
Machine: amd64
>Description:

spell(1) is a bit lacking. While it works on simple cases, e.g.
   valkyrie% echo 'frog' | /usr/bin/spell
   valkyrie% echo 'frogp' | /usr/bin/spell
   frogp
it accepts some interesting things:
   valkyrie% echo 'frogment' | /usr/bin/spell
   valkyrie% echo 'frogmental' | /usr/bin/spell
   valkyrie% echo 'froghood' | /usr/bin/spell
   valkyrie% echo 'frogship' | /usr/bin/spell
   valkyrie% echo 'biofrog' | /usr/bin/spell
   valkyrie% echo 'electrofrog' | /usr/bin/spell
   valkyrie% echo 'overfrog' | /usr/bin/spell

All hail the overfrog, or something.

This is because it has a set of suffix and prefix combining rules that
it applies rather ... liberally.

>How-To-Repeat:

>Fix:

I dunno. My inclination is towards cvs rm -- there are perfectly good
third-party spellcheckers at this point, natural language processing
is not exactly core OS functionality or the project's core competency,
and I don't think there's any need to maintain our own program given
that it doesn't work very well.



Home | Main Index | Thread Index | Old Index