Commit Graph

50 Commits

Author SHA1 Message Date
bd775bec45
Refactor time splitter, support computing of dates for time entries 2024-04-16 23:21:34 +02:00
81a7d64e27
Handle Ukrainian year names (2022 p > 2022) 2024-03-24 00:59:30 +01:00
f3831965a3
Extend NodaTimeSplitter 2023-12-09 23:54:45 +01:00
4a49c7a4e7
Fix erroneous splitting of Hungarian time names with additions 2023-12-09 11:56:15 +01:00
2ab0e75111
Fix erroneous splitting of "YYYY MMD" in Hungarian 2023-12-08 12:26:59 +01:00
55931ba3ef
Cover more levels of Ukrainian (current and historical) place
hierarchies
2023-12-02 16:32:46 +01:00
2badc67405
Add rewriting for Ukrainian place names based on specified hierarchies 2023-12-02 15:21:02 +01:00
b36a504277
Add blacklist for unwanted rewrites in consolidating place names 2023-11-26 23:55:43 +01:00
f6409322e5
Add classes for writing consolidating spellings of actor and place names 2023-11-25 22:42:07 +01:00
4496a35f5c
Rewrite incomplete time span spellings to extend parsable and splittable time names 2023-11-20 03:18:02 +01:00
a102758606
Extend tests to ensure "vermutl." is included in place uncertainty
indicators
2023-11-18 01:36:01 +01:00
4582f6a697
Fix another edge case in time splitter 2023-11-14 03:32:17 +01:00
c9b0e7085f
Add coverage information to tests, fix coverage of NodaValidationHelper 2023-11-07 23:31:42 +01:00
1a7dbcd6f6
Fix edge cases in time splitter where inputs start with many digits but
are not dates
2023-11-07 00:27:20 +01:00
631debcfd8
Add autoloader for tests, phpunit config 2023-11-06 23:46:30 +01:00
95de1615ef
Identify, parse and remove some more uncertainty indicators 2023-10-27 19:06:08 +02:00
37715bc3e8
Support BCE / CE times 2023-10-15 19:20:16 +02:00
a68a03e628
Improve wikidata fetcher 2023-08-31 16:09:21 +02:00
107a4cd640
Improve NodaWikidataFetcher's loading of descriptions
Close #15
2023-08-31 15:38:12 +02:00
511304b6f2
Fix bug in setting names for months 2022-11-03 16:02:10 +01:00
ea832e2160
Remove use of deprecated strfttime, use enums instead of class constants
for many parts of NodaTimeAutotranslater
2022-09-10 02:13:35 +02:00
c8d0292ca8
Fix bug in German dates like "1 November 1921" 2022-09-08 16:28:27 +02:00
1ed2959b62
Prevent noda time splitter from suggesting times with months beyond 12,
days beyond 31
2022-08-25 22:06:15 +02:00
c00cb6b629
Add class NodaValidationHelper, for now for validating actor
descriptions
2022-05-17 23:27:40 +02:00
e91dfbf3ef
Add tests for splitting common historical month names 2022-04-12 23:47:08 +02:00
3ed218fbac
Add tests for class NodaUncertaintyHelper 2022-04-02 19:34:36 +02:00
b3f7845023
Handle Jhdt as a form of century in time splitter
Close #9
2022-03-12 19:32:28 +01:00
cd3f27e5db
Remove superfluous newlines 2021-10-11 15:12:59 +02:00
041d3598eb
Allow using Wikidata links for fetching information for actors 2021-05-05 01:26:32 +02:00
6dcdb3aff6
Add function for assembling display names by given name and family name 2021-05-04 23:57:30 +02:00
bde3c2cb9e
Add a class NodaNameSplitterTest, for now splitting names into given
name and family name
2021-05-04 23:04:41 +02:00
d7e3a88320
Fix file path of MD_STD 2021-03-09 20:15:22 +01:00
a6030e4a5f
Fix bug in month names similar in English and German 2021-01-06 16:07:21 +01:00
1f4d692fb5 Enable automatic translations of times "before" a given date 2020-10-04 19:34:17 +02:00
1685d78f65 Allow splitting times "before <X>" 2020-10-04 19:27:23 +02:00
a0037c9883 Allow splitting times after <year><month> 2020-10-04 19:17:18 +02:00
be46c39efd Fix wrong assumption on handling counting times when autotranslating
"after <month>"
2020-10-04 18:36:03 +02:00
c9a1a74bce Enable autotranslating of times 'after' a certain date 2020-10-04 18:21:33 +02:00
2a57537436 Allow splitting times "Nach 1905" ("Nach " followed by 4 digit time
number)
2020-10-04 17:39:34 +02:00
ff35ca7bd9 Enable time splitter to deal with some roman numbers 2020-10-03 16:10:43 +02:00
80cd88222d Enable time splitter to recognize sz as abbr. for század 2020-10-03 15:59:49 +02:00
67cc76cff9 Allow splitting of German short decade names: 20er or 1920er 2020-09-27 17:12:34 +02:00
91f435a2e4 Enable parsing of months: 2020-01 2020-09-27 17:10:17 +02:00
baeb9ba72e Add test assertion for splitting international dates 2020-09-27 12:40:15 +02:00
830b37f547 Improve autotranslating of times before 1.1.1000 2020-09-26 16:10:26 +02:00
c9d8d4bdbd Allow automatic translations of days before 1000 CE 2020-09-26 16:02:18 +02:00
b405855fc2 Disallow translating as decade before 1000 CE 2020-09-26 15:30:30 +02:00
3058f25a1c Add tests for German dates, enable splitting of 5 digit timespans 2020-09-26 15:10:06 +02:00
14b0d8037d Add tests for splitting Hungarian dates 2020-09-26 14:15:15 +02:00
d56d47aee1 Add test for NodaTimeAutotranslater, allow parsing days and months BC 2020-09-26 13:20:22 +02:00