There’s currently no detection for that, at least not in the way you want. These are the repetitions rules for English:
https://community.languagetool.org/rule/list?offset=0&max=10&lang=en&filter=repet&categoryFilter=&_action_list=Filter