Skip to content

Check that no synonym repeats its own label - #17

Open
hoodcm wants to merge 1 commit into
mainfrom
synonym-equal-to-label
Open

hoodcm wants to merge 1 commit into
mainfrom
synonym-equal-to-label

Conversation

@hoodcm

@hoodcm hoodcm commented Oct 1, 2026

Copy link
Copy Markdown
Collaborator

Part of #5.

I added one check.

Check Data checked Why
A synonym doesn't repeat its own label Synonyms It adds nothing.

I removed the 32 synonyms it found on main (27 German, 5 English). Each was identical to its class's label in the same language.

The check skips synonyms that differ from the label only in capitalization. There are 313 of those, and many of them have the correct capitalization where the label doesn't, such as "Brodmann area 20" against the label "brodmann area 20". They need a separate decision.

All tests pass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant