Expand description
BM25 over entries (adapted from repomap’s engine), with a light English stemmer and query stopwords so questions in plain language rank well.
Structs§
Functions§
- expand
- Query terms plus weighted synonyms not already present.
- is_stop
- A stopword (lowercase)?
- query_
terms - Query-side terms: stopwords dropped, deduplicated.
- stem
- Conservative suffix stripping: plural, -ing, -ed, final -e, and the noun forms -ation / -ability that pair with -ate / -able (validation ~ validate, immutability ~ immutable).
- terms
- Index-side terms for a text.
- tf
- Weighted term frequencies for one document.