Skip to content

Hold synonym terms and more odd names in corpus adopt - #585

Merged
tamnd merged 1 commit into
mainfrom
hold-synonym-terms
Nov 5, 2026
Merged

tamnd merged 1 commit into
mainfrom
hold-synonym-terms

Conversation

@tamnd

@tamnd tamnd commented Nov 5, 2026

Copy link
Copy Markdown
Owner

This change holds more weak names that area 14 showed.
It holds a glossary entry when the definition says "now called", or when the definition has three words or less, such as "A set.", because such an entry gives a synonym and not a new item.
It skips a bracket after the name when it looks for the next word, so "Accidental" in "An accidental (or improper) double point" waits as a word that qualifies a noun.
It holds a name that ends with a period, has a backslash from math, or has a comma and a word in lower case, such as "Quadro-cubic, quadro-quartic".
It adds "Conjecture" with an optional letter and bracket to genericName, and "in other" to partPhrase.

Refs #308.

Tests: go test ./importer/wikipedia/ ./check/ passes, with new cases in TestWhyName, TestModifierEntry and the genericName test.

@tamnd tamnd added type: feature Adds a new function or command. area: corpus The corpus programme labels Nov 5, 2026
@tamnd
tamnd merged commit aa2633c into main Nov 5, 2026
11 of 12 checks passed
@tamnd
tamnd deleted the hold-synonym-terms branch November 5, 2026 13:06
tamnd added a commit to tamnd/math2 that referenced this pull request Nov 5, 2026
This change adopts 193 articles of area 14 (algebraic geometry) from the
Wikipedia corpus as new nodes.

The adopt step ran with m2 at math2-agent main. The link step linked 192
more inventory rows to existing nodes.

The parity report for algebraic geometry has 3068 items and 0 items
without an outcome.

The audit gives 24 G02 findings. These findings are pairs that are
already on main, so this change does not add them. I04, Y11 and Y18
pass.

This run uses the build of tamnd/math2-agent#585. Six nodes are on the
cleanup list: Primal, Form, Composite, Freedom, Weights, and Proof of
Beilinson's theorem, which proves Orlov's reconstruction theorem.

Refs tamnd/math2-agent#308.

Tests: m2 check passes, m2 audit with I04, P01, Y18, G02 and Y11 passes
except the old G02 findings, m2 corpus parity passes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: corpus The corpus programme type: feature Adds a new function or command.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant