Sha256: 0e09eb327f561ff4724cb6db1c31ddb8aa79942306642b50d0b60fffca156ae3

Contents?: true

Size: 983 Bytes

Versions: 1

Compression:

Stored size: 983 Bytes

Contents

#
# Pretty basic stoplist
#
# Obtained from http://www.cs.utep.edu/nigel/nlp/ir/stoplist.txt, 
# which attributed as "from Manning and Schutze, 1999, pg 533".
#
module RSI
  STOPLIST = %w(
        a
        also
        an
        and
        as
        at
        be
        but
        by
        can
        could
        do
        for
        from
        go
        have
        he
        her
        here
        his
        how
        i
        if
        in
        into
        it
        its
        my
        of
        on
        or
        our
        say 
        she
        that
        the
        their
        there
        therefore
        they
        this
        these
        those
        through
        to
        until
        we
        what
        when
        where
        which
        while
        who
        with
        would
        you
        your
  )
  STOPLIST_s = STOPLIST.join(" ")
end

if __FILE__ == $0
  puts RSI::STOPLIST_s
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rsi-0.4 lib/rsi/stoplist.rb