DeleteStopwords

DeleteStopwords[list]

deletes stopwords from a list of words.

DeleteStopwords["string"]

deletes stopwords from a string.

DeleteStopwords[{"string1","string2",}]

deletes stopwords from a list of strings.

Details

  • DeleteStopwords uses a standard, built-in list of stopwords.
  • DeleteStopwords["string"] removes stopwords from the string, leaving whatever spaces or punctuation were around them.
  • In DeleteStopwords[{"string1","string2",}], any of the string1 that consist of single stopwords are removed from the list.

Examples

Basic Examples  (1)

Remove stopwords from a list:

Remove stopwords from a string:

Remove stopwords from a list of strings:

Introduced in 2015
 (10.1)