Spaces:
Sleeping
Sleeping
Fix classifier indentation
Browse files156 unmodified lines157158159160161162163164165166156 unmodified linesif len(matched_id_anchors) >= 3:scores["id_card"] += 3.0signals_detected.append(f"egyptian_id_field_labels_{len(matched_id_anchors)}")else:if kw in lower:scores[cat] += 1.4signals_detected.append(f"kw_{cat}:{kw}")# High-specificity contextual combinationsif ("@gmail.com" in lower or "@yahoo.com" in lower or "linkedin.com" in lower or "github.com" in lower) and ("experience" in lower or "education" in lower or "الخبرات" in lower):156 unmodified lines157158159160161162163156 unmodified linesif len(matched_id_anchors) >= 3:scores["id_card"] += 3.0signals_detected.append(f"egyptian_id_field_labels_{len(matched_id_anchors)}")# High-specificity contextual combinationsif ("@gmail.com" in lower or "@yahoo.com" in lower or "linkedin.com" in lower or "github.com" in lower) and ("experience" in lower or "education" in lower or "الخبرات" in lower):
app/services/classification/classifier.py+1-4