# How can I add new words to the list of stop words for is\_stopword()?

**URL:** <https://community.exploratory.io/t/how-can-i-add-new-words-to-the-list-of-stop-words-for-is-stopword/1703>\
**Category:** Uncategorized\
**Created:** [June 18, 2019, 7:36am UTC](https://community.exploratory.io/t/how-can-i-add-new-words-to-the-list-of-stop-words-for-is-stopword/1703 "2019-06-18T07:36:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hideaki\_Hayashi](https://community.exploratory.io/user_avatar/community.exploratory.io/hideaki_hayashi/32/10_2.png) [@Hideaki\_Hayashi](https://community.exploratory.io/u/Hideaki_Hayashi)\
**Post date:** [June 18, 2019, 7:36am UTC](https://community.exploratory.io/t/how-can-i-add-new-words-to-the-list-of-stop-words-for-is-stopword/1703/1 "2019-06-18T07:36:17Z")

</div>

`is_stopword` function can be used with `filter` command to filter out stopwords.  
To add new words to the list of stopwords it has, there is “include” argument.

So, with a custom filter step, you can do something like this to filter with new stopwords in addition to the list of default stop words `is_stopword` function already has.

```auto
!is_stopword(words, include=c("foo","bar"))

```

[![](https://downloads.intercomcdn.com/i/o/128185526/c892156520ea69b6eacb9c2f/image.png)](https://downloads.intercomcdn.com/i/o/128185526/c892156520ea69b6eacb9c2f/image.png)
