# Can \_termvector return only real english words and ignore everything else?

**URL:** <https://discuss.elastic.co/t/can--termvector-return-only-real-english-words-and-ignore-everything-else/26449>\
**Category:** Elasticsearch\
**Created:** [July 28, 2015, 10:12pm UTC](https://discuss.elastic.co/t/can--termvector-return-only-real-english-words-and-ignore-everything-else/26449 "2015-07-28T22:12:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![virtuman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/virtuman/32/49955_2.png) [@virtuman](https://discuss.elastic.co/u/virtuman)\
**Post date:** [July 28, 2015, 10:12pm UTC](https://discuss.elastic.co/t/can--termvector-return-only-real-english-words-and-ignore-everything-else/26449/1 "2015-07-28T22:12:57Z")

</div>

I'm trying to autogenerate tags relevant to the document based on all text known from the document.  
Is there an analyzer / filter that we can use to exclude any "non-real" english words such as models, partial words, words that include numeric or special chars, etc.?

ie:

```
GET data_classification/categories/_termvector
{
  "doc": {
    "text": "wer muffin lear strappy sal made italy color material muffin"
  }
}

```

and I would want it to return only this subset of words

- muffin x 2
- lear
- italy
- made
- color
- material

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 11:58pm UTC](https://discuss.elastic.co/t/can--termvector-return-only-real-english-words-and-ignore-everything-else/26449/2 "2017-07-05T23:58:30Z")

</div>


