# Need help to understand how standard tokenizer works

**URL:** <https://discuss.elastic.co/t/need-help-to-understand-how-standard-tokenizer-works/294860>\
**Category:** Elasticsearch\
**Created:** [January 19, 2022, 6:07pm UTC](https://discuss.elastic.co/t/need-help-to-understand-how-standard-tokenizer-works/294860 "2022-01-19T18:07:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jsjs2](https://avatars.discourse-cdn.com/v4/letter/j/8edcca/32.png) [@jsjs2](https://discuss.elastic.co/u/jsjs2)\
**Post date:** [January 19, 2022, 6:07pm UTC](https://discuss.elastic.co/t/need-help-to-understand-how-standard-tokenizer-works/294860/1 "2022-01-19T18:07:16Z")

</div>

In the following two examples, I had hard time to understand why the outputs are different:

```auto
POST _analyze
{
  "tokenizer": "standard",
  "text": "mark.cuban"
}

```

terms produced: ["mark.cuban"]

```auto
POST _analyze
{
  "tokenizer": "standard",
  "text": "mark1.cuban"
}

```

terms produced: ["mark1","cuban"]

why the "." is treated as tokenizer in the second example, but not in the first?

---

<div class="post-metadata">

**Author:** ![Tomo\_M](https://avatars.discourse-cdn.com/v4/letter/t/848f3c/32.png) [@Tomo\_M](https://discuss.elastic.co/u/Tomo_M)\
**Post date:** [January 20, 2022, 1:12am UTC](https://discuss.elastic.co/t/need-help-to-understand-how-standard-tokenizer-works/294860/2 "2022-01-20T01:12:42Z")

</div>

I'm not familiar with tokenizer, but Table 3. Word\_Break Property Values in the latter page says, `U+002E ( . ) FULL STOP` is treated as a word boundary for `MidNumLet` but not for `MidLetter`. I have no idea about the reason.

> **[Standard tokenizer | Elasticsearch Guide \[7.16\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-standard-tokenizer.html)**

[https://unicode.org/reports/tr29/](https://unicode.org/reports/tr29/)

---

<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:** [February 17, 2022, 1:13am UTC](https://discuss.elastic.co/t/need-help-to-understand-how-standard-tokenizer-works/294860/3 "2022-02-17T01:13:18Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
