(text)
| 43 | |
| 44 | |
| 45 | def is_symbolic(text): |
| 46 | return bool(re.fullmatch(r'[-=_*~^#<>|\\/.,!?、。,!?·]+', text)) |
| 47 | |
| 48 | |
| 49 | def detect_consecutive_repetition_hash(text, min_repeat_len=3, min_repeat_times=8, base=257, mod=10 ** 9 + 7): |
no outgoing calls
no test coverage detected