import re


def word_reps(text: str) -> str:
    """Cut word repetitions at 3 times in `t`."""
    def _replace_wrep(expr):
        sngl_expr, _ = expr.groups()
        return 3 * f' {sngl_expr} '
    re_wrep = re.compile(r'(\b\w+\W+)(\1{3,})')
    replaced = re_wrep.sub(_replace_wrep, ' ' + text + ' ')
    return ' '.join(replaced.split())