---
metadata:
  - name: generator
    content: Diplodoc Platform v5.70.2
alternate:
  - https://catboost.ai/docs/en/concepts/python-text-processing.md
  - href: https://catboost.ai/docs/en/concepts/python-text-processing.md
    type: text/markdown
    title: Markdown version
  - href: https://catboost.ai/docs/en/llms.txt?revision=r22188238
    rel: describedby
---
> **Documentation Index:** Fetch the complete configuration index at https://catboost.ai/docs/en/llms.txt?revision=r22188238

# Text processing

Text Processing is used to solve different tasks, including but not limited to:
- Use text data by machine learning algorithms.

    Raw texts can not be handled by machine learning algorithms and therefore must be preprocessed.

- Improve the quality of resulting models.

    The usage of different types of text preprocessing (i.e., excluding numbers from the text or replacing upper case words with lower-case ones) can lead to significant improvements in the quality of the resulting model.


CatBoost provides the following classes for text processing:

- [Tokenizer](https://catboost.ai/docs/en/concepts/python-reference_tokenizer.md)
- [Dictionary](https://catboost.ai/docs/en/concepts/python-reference_dictionary.md)
