Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -43,7 +43,7 @@ def analisar_conteudo_do_curriculo(texto):
|
|
| 43 |
|
| 44 |
for categoria, config in CONFIG["palavras-chave"].items():
|
| 45 |
for termo in config["termos"]:
|
| 46 |
-
contagem = len(re.findall(rf'\b{termo}\b', texto))
|
| 47 |
if contagem > 0:
|
| 48 |
correspondencias.append({
|
| 49 |
"termo": termo,
|
|
|
|
| 43 |
|
| 44 |
for categoria, config in CONFIG["palavras-chave"].items():
|
| 45 |
for termo in config["termos"]:
|
| 46 |
+
contagem = len(re.findall(rf'\b{re.escape(termo.lower())}\b', texto.lower()))
|
| 47 |
if contagem > 0:
|
| 48 |
correspondencias.append({
|
| 49 |
"termo": termo,
|