NetBSD Problem Report #48684

From dholland@netbsd.org  Thu Mar 27 01:37:01 2014
Return-Path: <dholland@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 9BD72A5808
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 27 Mar 2014 01:37:01 +0000 (UTC)
Message-Id: <20140327013701.2782314A1B4@mail.netbsd.org>
Date: Thu, 27 Mar 2014 01:37:01 +0000 (UTC)
From: dholland@netbsd.org
Reply-To: dholland@netbsd.org
To: gnats-bugs@gnats.NetBSD.org
Subject: spell(1) is lacking
X-Send-Pr-Version: 3.95

>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.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.