NetBSD-Bugs archive

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

bin/51018: Update stopwords list for apropos(1)



>Number:         51018
>Category:       bin
>Synopsis:       Update stopwords list for apropos(1)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 28 10:40:00 +0000 2016
>Originator:     Abhinav Upadhyay
>Release:        CURRENT
>Organization:
>Environment:
>Description:
The current stopwords list of apropos(1) contains some legitimate words for which man pages exist, for example, an, as, at, be etc.

Also, I came across a larger set of stopwords list [1], which I thought would be useful and should be used with apropos.

[1]: http://www.lextek.com/manuals/onix/stopwords2.html
>How-To-Repeat:

>Fix:
Index: stopwords.txt
===================================================================
RCS file: /cvsroot/src/usr.sbin/makemandb/stopwords.txt,v
retrieving revision 1.1
diff -u -r1.1 stopwords.txt
--- stopwords.txt	7 Feb 2012 19:13:32 -0000	1.1
+++ stopwords.txt	28 Mar 2016 10:14:44 -0000
@@ -8,154 +8,383 @@
 7
 8
 9
+able
 about
+above
+according
+accordingly
+across
+actually
+after
+afterwards
 again
+against
+ain't
 all
+allow
+allows
+almost
+alone
+along
+already
 also
+although
 always
-an
+am
+among
+amongst
 and
 another
 any
+anybody
+anyhow
+anyone
+anything
+anyway
+anyways
+anywhere
+apart
+appear
+appreciate
+appropriate
 are
+aren't
 around
-as
+a's
+aside
 ask
-at
+asking
+associated
+available
+away
+awfully
 b
 back
-be
+became
 because
+become
+becomes
+becoming
 been
 before
+beforehand
+behind
+being
+believe
 below
+beside
+besides
+best
+better
 between
+beyond
+both
+brief
 but
 by
 bye
+came
 can
+cannot
+cant
+can't
 case
+cause
+causes
+certain
+certainly
+changes
+clearly
+c'mon
+come
+comes
+concerning
+consequently
+consider
+considering
 consist
+contain
+containing
+contains
+corresponding
 could
-d
+couldn't
+course
+c's
+currently
+definitely
+described
+despite
 did
+didn't
+different
+do
 does
+doesn't
+doing
+done
+don't
 down
+downwards
+during
 e
 each
 early
+edu
+eight
 either
-end
+else
+elsewhere
 enough
+entirely
+especially
+etc
 even
+ever
 every
+everybody
+everyone
+everything
+everywhere
+exactly
+example
+except
 f
 fact
 far
 few
+fifth
+first
+five
 follow
+followed
+following
+follows
+for
+former
+formerly
+forth
 four
-from
 full
 further
+furthermore
 g
 general
 get
+getting
 give
 given
+gives
+go
+goes
+going
+gone
 good
 got
+gotten
 great
+greetings
 h
 had
+hadn't
+happens
+hardly
 has
+hasn't
 have
+haven't
 having
+he
+hello
+help
+hence
+her
 here
+hereafter
+hereby
+herein
+here's
+hereupon
+hers
+herself
+he's
+hi
 high
 him
+himself
 his
+hither
+hopefully
 how
+howbeit
 however
 i
+i'd
+ie
 if
+ignored
+i'll
+i'm
+immediate
 important
 in
+inasmuch
+inc
+indeed
+indicate
+indicated
+indicates
+inner
+insofar
+instead
 interest
 into
+inward
 is
+isn't
 it
+it'd
+it'll
+its
+it's
+itself
+i've
 j
 just
 k
 keep
 keeps
+kept
 kind
 knew
 know
+known
+knows
 l
 large
 larger
-last
+lately
 later
 latest
 latter
+latterly
 least
+lest
 let
+let's
 like
+liked
 likely
+little
 long
 longer
+looking
+looks
+ltd
 m
 made
+mainly
 many
 may
-me
+maybe
+mean
+meanwhile
+merely
 might
+moreover
 most
 mostly
 much
 must
 my
+myself
 n
+name
+namely
 names
+nd
+near
+nearly
 necessary
 need
 needs
+neither
 never
+nevertheless
 new
 next
+nine
 no
+nobody
 non
+none
 noone
+nor
+normally
 not
 nothing
+novel
+now
+nowhere
 o
+obviously
 of
 off
 often
+oh
+ok
+okay
 old
 older
 on
 once
+one
+ones
 only
+onto
 or
 order
+other
+others
+otherwise
+ought
 our
+ours
+ourselves
 out
+outside
 over
+overall
+own
 p
 part
+particular
+particularly
 per
 perhaps
+placed
+please
+plus
 possible
 present
+presumably
+probably
 problem
+provides
 q
+que
 quite
+qv
 r
 rather
+rd
 really
+reasonably
+regarding
+regardless
+regards
+relatively
+respectively
 right
 room
 s
@@ -163,89 +392,204 @@
 same
 saw
 say
+saying
 says
 second
+secondly
 see
+seeing
 seem
 seemed
+seeming
 seems
+seen
 sees
+self
+selves
+sensible
+sent
+serious
+seriously
+seven
 several
 shall
+she
 should
+shouldn't
 side
 sides
+since
+six
 small
 smaller
 so
 some
+somebody
+somehow
+someone
 something
+sometime
+sometimes
+somewhat
+somewhere
+soon
+sorry
+specified
+specify
+specifying
 state
 states
 still
+sub
 such
 sure
 t
 take
 taken
+tell
+tends
+th
+than
+thank
+thanks
+thanx
 that
+thats
+that's
 the
 their
+theirs
 them
+themselves
 then
+thence
 there
+thereafter
+thereby
 therefore
+therein
+theres
+there's
+thereupon
 these
+they
+they'd
+they'll
+they're
+they've
 thing
 think
 thinks
+third
 this
+thorough
+thoroughly
 those
 though
 three
+through
+throughout
+thru
 thus
 to
 together
 too
 took
 toward
+towards
+tried
+tries
+truly
+try
+trying
+t's
 turn
+twice
 two
 u
+un
+under
+unfortunately
+unless
+unlikely
 until
+unto
 up
 upon
 us
 use
 used
+useful
 uses
+using
+usually
 v
+value
+various
 very
-w
+via
+viz
+vs
 want
 wanted
 wants
 was
+wasn't
 way
 ways
-we
+we'd
+welcome
 well
+we'll
 went
 were
-what
+we're
+weren't
+we've
+whatever
+what's
 when
+whence
+whenever
+where
+whereafter
+whereas
+whereby
+wherein
+where's
+whereupon
+wherever
 whether
+while
+whither
+whoever
+whole
+whom
+who's
+whose
 why
 will
 willing
+wish
 with
 within
 without
+wonder
+won't
 work
 would
+wouldn't
 x
 y
 year
 yet
 you
+you'd
+you'll
+your
+you're
+yours
+yourself
+yourselves
+you've
 z



Home | Main Index | Thread Index | Old Index