SPB Git

spb/trouve-ka Public

Trouve-KA — moteur de recherche web indépendant, Québec-first. Crawler distribué, index OpenSearch, ranking bilingue, galerie d'images. En prod : www.trouve-ka.com

Python 76.8% TypeScript 15.7% SQL 3.9% Shell 1.4% CSS 1.3% Dockerfile 0.7%
515 B · 16 lines python
Raw Blame History
1# Trouve-KA — classification Québec2# Author: Simon-Pierre Boucher3# Contact: contact@spboucher.ai45"""Détection de pertinence québécoise (CLAUDE.md §7).67Deux scores distincts : page_quebec_score (calculé ici) et domain_quebec_score8(agrégé en base au fil des pages). Un article du NYT sur Montréal peut être9pertinent sans que le domaine le soit.10"""1112from .scorer import score_page13from .gazetteer import QUEBEC_TOPONYMS, QUEBEC_REGIONS1415__all__ = ["score_page", "QUEBEC_TOPONYMS", "QUEBEC_REGIONS"]16