Skip to content

Conversation

nciric
Copy link
Contributor

@nciric nciric commented Feb 14, 2025

Here's more generic script for uploading data to Wikidata. It requires new data to be in JSON format (see sample_new_lexeme.json) and it reads unpacked Wikidata to dedupe output.

It wait's 1s between uploads to obey rate limiting.

It currently only works for nouns, but it's generic enough that other things could be added, like adjectives.

@nciric nciric requested a review from grhoten February 14, 2025 22:14
@nciric nciric merged commit a49623e into main Feb 15, 2025
1 check passed
@nciric nciric deleted the data-upload branch February 15, 2025 01:04
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.

2 participants