Ask PhysicsDocs

Building it

Corpus and Licenses

Ask Physics is MIT licensed. Everything it learns from or ships is either written by the project or licensed so that it can be used, and credit travels with it.

The prose corpus

About 20 million words of English, built locally by scripts/build_corpus.py and never committed (ADR-017):

The build keeps prose only (no figures, tables, exercises, or display math), drops repeated paragraphs and reference-list entries, and drops every paragraph with a slur or a swear word. The word list is stored only as hashes.

Each build writes ATTRIBUTION.md (every source and its license), the CC BY license text, and a lock file of exactly what went in. Any model trained on the corpus carries the same attribution on its model card.

Equations and constants

Every equation entry was written by the project, with a source cited for checking (mostly OpenStax, as a reference) and its own license field, almost always MIT. Constants cite CODATA and NIST. See Equations and Constants.

Everything else

Fonts, imagery, and software dependencies keep their own licenses, listed in THIRD_PARTY_LICENSES.md.

Built from the repository by scripts/docs_site.py. To change a page, edit it there.