One app that merges the two development lines of the Wisdom Extractor project:
- the ConsILR-2025 paper pipeline (v7 → v10_working): canonicalization, char n-gram clustering, wisdom scoring, 2D maps, diagnostics, deterministic interpretation;
- the Wisdom Lab platform (v15 → v18): robust depth-1 scraping, SQLite persistence, and the human annotation game (must-link / cannot-link / not-a-saying).
See EXPLANATION.md for the full account of what was merged, what was broken, and what is new.
python -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
streamlit run app.pyThe database is wisdom.db in the working directory (override with WISDOM_DB_PATH).
Pointing it at an existing v15–v18 wisdom.db upgrades the schema in place, non-destructively.
- Tab 2 — Import & Seed: click "Seed from paper dataset" (21,378 proverbs, 77 peoples, full provenance) and/or import your own CSV.
- Tab 1 — Sources & Scrape: crawl more sources; culture labels are inferred from URLs automatically and enriched with language family / region metadata.
- Tab 3 — Clean & Canonicalize: filter noise, compute canonical claims.
- Tab 4 — Cluster: char 3–5-gram TF-IDF clustering with your annotation constraints applied.
- Tab 6 — Annotate: play the annotation game; your judgments improve the next clustering run and are scored as an evaluation set.
- Tabs 5/7/8 — Results, Diagnostics, Interpretation: browse clusters, validate, interpret.
- Tab 9 — Export: CSV/JSON exports of everything.
data/seed_proverbs.csv— the paper's cleaned dataset (v10_working, 21,378 rows,peoplelabels)data/people_metadata.csv— per-people ecological/institutional proxies for correlationsdata/sources_catalog.json— 46 curated proverb sources (Wikiquote, Wiktionary, Gutenberg, archives)
This folder is a git repository whose history includes the project's full lineage
(tags v7.7 through v19.3 — see CHANGELOG.md). Do not make
per-version copies or zips by hand anymore. Instead:
- Make changes; describe them in
CHANGELOG.md. - Run
./scripts/release.sh <version> "one-line summary"— commits, tags, and buildsdist/wisdom-extractor-v<version>.zip. git push origin main --tags(GitHub Releases can then serve the zips).
Browse any historical version with git checkout v10 (return with git checkout main),
or compare versions: git diff v18 v19.2 --stat.
Errors found in this project's own published statements are recorded permanently in
CORRECTIONS.md, whether or not anyone else noticed them and whether
or not the corrected value flatters us. Corpus versions are cut on pre-registered
data-volume triggers, never on what a statistic shows; see
CORPUS_RELEASE_CRITERIA.md.
Software (always resolves to the latest version): DOI 10.5281/zenodo.21413838. Method and results: Belciug, V. & Pelican, E. (2025). The Wisdom Extractor: Mining Cross-Cultural Proverbs to Elicit Time-Tested Heuristics. ConsILR-2025, Bucharest.