/
cryzaqgk
/
test
Обзор
Документация
Войти
/
cryzaqgk
/
test
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
src/detector/preprocess.py
7 строк
170 B
cryzaqgk
final commit
13 дек 2025, 17:38
13 дек 2025, 17:38
b40c83d
Код
Авторство
О чём код?
import re def preprocess(text: str) -> list: text = text.lower() text = re.sub(r"[^а-яёa-z\s]", " ", text) return [t for t in text.split() if len(t) > 2]