# How preprocess texts including (mentions)

**URL:** <https://discuss.huggingface.co/t/how-preprocess-texts-including-mentions/13582>\
**Category:** Beginners\
**Created:** [January 11, 2022, 4:47pm UTC](https://discuss.huggingface.co/t/how-preprocess-texts-including-mentions/13582 "2022-01-11T16:47:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MahdiA](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/mahdia/32/2700_2.png) [@MahdiA](https://discuss.huggingface.co/u/MahdiA)\
**Post date:** [January 11, 2022, 4:47pm UTC](https://discuss.huggingface.co/t/how-preprocess-texts-including-mentions/13582/1 "2022-01-11T16:47:09Z")

</div>

Is that a good idea to replace mentions like (@ABCD) in tweet posts with `unk_token` to preprocess a tweet to feed the BERT model?
