soft-analytics-01/scripts/consts.py
Claudio Maggioni 07232eddcc Final version of the bug-triaging project
Commit history has been discarded to remove large files from the repo.
2024-01-03 15:22:56 +01:00

18 lines
412 B
Python

# Define regular expressions to remove unwanted content from issue text
extra_stopwords = [
r'http(s)?://\S+', # Any http(s) url
r'[^a-zA-Z0-9_ \n]', # Any non-word character
]
# Define labels to remove unwanted issues
labels_blacklist = [
r'^\*english-please$',
r'^caused-by-extension$',
r'^info-needed$',
r'^invalid$',
r'^\*off-topic$',
r'^translation-required(-\w+)+$',
]