Commit Graph

335 Commits

Author SHA1 Message Date
28f6db67ff Disable XML error warnings when parsing unclean inputs from Wikidata 2025-02-13 21:48:07 +01:00
2f3bc5f2fa Prefer wikipedia page titles over wikidata labels
Close #28
2025-02-13 21:38:13 +01:00
39362f537a Merge branch 'master' of gitea:museum-digital/MDNodaHelpers 2025-02-13 17:19:43 +01:00
de0357473a Make constant for test language in NodaWikidataFetcherTest public, allowing reuse 2025-02-13 17:19:06 +01:00
ef43270fb2 Map suffixes material and technique to their respective tag relation
types
2025-02-13 14:04:38 +01:00
338e09f001 Add kannada to list of languages fetched from wikidata 2025-02-13 13:10:45 +01:00
4cf9eaf4fa Remove superfluous params passed to function 2025-02-13 13:10:30 +01:00
18438251a7 Add functions for getting IDs by any translated entry irrespective of
the language
2025-02-12 17:15:19 +01:00
1cf0f9858a Add tests for loading translations in NodaWikidataFetcher 2025-02-12 16:02:04 +01:00
1d50027809 Make function getWikidataEntity public 2025-02-12 15:48:52 +01:00
d1cee17ef5 Add Telugu to list of languages to fetch in Wikidata fetcher
Close #24
2025-02-12 12:47:02 +01:00
baf7905e0b Map gender Q207959
Q207959 is androgyny, mapping is a preliminary solution
2025-02-03 09:41:16 +01:00
9bf14d7d91 Add search function for getting entries in NodaIDGetter across vocabs 2025-01-31 23:25:40 +01:00
a621534136 Update NodaBlacklistedTerms 2025-01-24 13:45:28 +01:00
51fe9a5e45 Cover more edge cases for splitting time names 2025-01-15 11:49:20 +01:00
9c2eaa2929 Allow splitting 1945-48 2025-01-15 10:35:35 +01:00
546c17031a Make NodaImportLogger more resilient, prevent error in case of duplicate import names 2024-12-12 12:43:11 +01:00
bf22f5541d Retrieve "displayed subject" relationship from suffix "<Motiv>", "[Motiv]" 2024-12-03 16:07:41 +01:00
e036d7881a Add missing strict typing in function params 2024-12-01 22:11:17 +01:00
d8db941485 Disallow tags of name "Nichtmünzliches" (de) 2024-11-24 16:08:14 +01:00
b7bb7364d4 Ensure duplicate time names can be parsed in NodaTimeSplitter (e.g.
1.1.2024-1.1.2024)
2024-11-20 10:02:10 +01:00
4dcd93b947 Better validate input JSON fetched from Wikipedia 2024-11-12 15:36:32 +01:00
c72ad51dda Merge branch 'master' of gitea:museum-digital/MDNodaHelpers 2024-11-11 09:11:35 +01:00
d6dea3e280 Remove use of SESSION in NodaWikidataFetcher 2024-11-11 09:11:15 +01:00
6f7ad13c4e Add class NodaTagRelationIdentifier for parsing tag relation types from
input tag names
2024-11-09 19:44:09 +01:00
48355a6a36 Identify uncertainty before brackets ("Berlin ? (Germany)" > "Berlin
(Germany)" + Uncertain)
2024-11-09 18:42:18 +01:00
7cfe752c94 Handle commas when guessing time certainty 2024-11-09 15:40:27 +01:00
29ca05f552 Properly handle commas at the end of names when guessing certainty 2024-11-09 15:33:49 +01:00
eb371d4270 Ensure times can be split despite spaces at random points in given name 2024-10-23 18:02:23 +02:00
16f36c0852 Improve test coverage 2024-10-10 14:32:55 +02:00
669a8a1459 Add tests for lookup functions by vocabulary references 2024-10-10 14:16:52 +02:00
a9c506497c Respect diacritics when looking up tag, actor, .. IDs 2024-10-10 09:51:28 +02:00
06f13c1a71 Add functions for loading only norm data links from Wikidata for places
+ actors
2024-10-03 16:36:30 +02:00
cd49f194f2 Refactor wikidata fetcher 2024-10-03 15:56:31 +02:00
9b63a4d95d Refactor parsing of norm data links from Wikidata into a dedicated
function
2024-10-03 15:03:38 +02:00
96ba020514 Add function for getting actors' names including life dates in batch 2024-09-28 22:45:12 +02:00
c650e57eda Remove references to zoom factor for places in Wikidata fetcher 2024-09-25 15:42:59 +02:00
dea09b17cd Add safeguard against question marks entering NodaSplitTime 2024-08-02 03:41:51 +02:00
cc0997f412 Add direct validation function for noda mail checker 2024-07-28 03:47:35 +02:00
f18e4c3edc Make class constant public 2024-07-19 00:59:21 +02:00
f220a77ad7 Remove linking to wikipedia as a noda repository in wikidata fetcher
Close #21
2024-07-19 00:49:04 +02:00
58d3569718 Fix edge case 200 b.c. in NodaSplitTime 2024-07-08 01:27:03 +02:00
27528c9cf7 Ran phpcbf over code 2024-07-08 00:48:50 +02:00
205e77da0e Remove group members before deleting group 2024-05-27 03:13:03 +02:00
f36938b8dd Add functions for updating / deleting groups 2024-05-27 02:44:28 +02:00
cfa9cee60d Add additional option for logging in nodac 2024-05-23 22:58:42 +02:00
83a557b989 Add additional assertion to NodaTimeSplitterTest for more thorough type safety 2024-05-05 22:54:33 +02:00
7f342ed3c4 Merge branch 'master' of gitea:museum-digital/MDNodaHelpers 2024-05-04 01:19:23 +02:00
7d303e219f Fix broken time splitting for year ranges BC 2024-05-04 01:17:33 +02:00
ce480f8b9f Add validator for tag descriptions 2024-05-01 17:45:07 +02:00