92 Commits

Author SHA1 Message Date
0053fbe030
Support splitting times like "1. Hälfte des 19. Jahrhunderts" 2025-04-28 17:00:32 +02:00
7a2856ffad
Split times in more cases (300-20 BC, 300-4000 CE) 2025-04-08 15:18:32 +02:00
dba60dbce6
Fix order of split days and months within a single year BCE
Close #32
2025-04-07 18:32:14 +02:00
e8edb4a459
Time splitter: Handle first/second half
Close #31
2025-04-05 00:09:39 +02:00
beba838c0d
Correctly handle multibype hyphens in XXXX-XXXX 2025-03-10 04:13:59 +01:00
54dd958073
See before 2025-03-10 04:05:00 +01:00
5b99304b5c
Accept an additional type of hyphen / dash in time splitting 2025-03-10 03:59:44 +01:00
d9d9f7fcdc
Continue refactoring tests for time splitter to run provider-based 2025-02-24 14:02:42 +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
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
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
7d303e219f
Fix broken time splitting for year ranges BC 2024-05-04 01:17:33 +02:00
eb14615917
Return start and end date when attempting to split time spans 2024-04-17 00:02:31 +02:00
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
a33c354ad6
Conform to stricter typing rules 2023-11-21 22:01:28 +01:00
4496a35f5c
Rewrite incomplete time span spellings to extend parsable and splittable time names 2023-11-20 03:18:02 +01:00
4582f6a697
Fix another edge case in time splitter 2023-11-14 03:32:17 +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
37715bc3e8
Support BCE / CE times 2023-10-15 19:20:16 +02:00
446c5d26f4
Extend uncertainty helper with more terms 2023-02-01 15:01:24 +01:00
511304b6f2
Fix bug in setting names for months 2022-11-03 16:02:10 +01:00
5819caff91
Remove superfluous variable assignments 2022-09-15 21:29:07 +02:00
df1d2c10eb
Remove superfluous checks 2022-09-08 16:41:34 +02:00
c8d0292ca8
Fix bug in German dates like "1 November 1921" 2022-09-08 16:28:27 +02:00
6f41ffeb9f
Remove deprecated strfttime in NodaTimeSplitter 2022-09-08 16:07:30 +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
b3f7845023
Handle Jhdt as a form of century in time splitter
Close #9
2022-03-12 19:32:28 +01:00
a4be5e876c
Add tól to list of handled suffixes in NodaTimeSplitter
"tól" is a suffix equivalent to "after" in Hungarian.
2022-02-04 02:49:44 +01:00
d28618bb14
Try / catch invalid dates in NodaTimeSplitter 2022-02-03 21:12:54 +01:00
9132745631
Fix bug in time splitter, make code more explicit 2022-01-09 22:19:22 +01:00
581d9c7079
Use "d" for coordinates fetched through wikidata, remove useless
parentheses
2021-10-10 12:32:55 +02:00
fb327762dc
Add capability to split english decade terms (1920s) 2021-08-27 16:19:19 +02:00
6a91e31f41
Improve handling of timespans 2021-05-13 23:00:23 +02:00
874cfb8a6f
Extend time splitter to handle e.g. "17./18. Jh." 2021-05-07 16:25:50 +02:00
e957db4210
Add condition to split times like "xxxx bis yyyy" 2021-03-26 12:32:27 +01:00
7ccdfd4659
Fix function comment in NodaTimeSplitter 2021-01-31 01:50:25 +01:00
a761a9dfd7
Stop time splitter for start / end, if common time splitter can be used 2021-01-07 11:43:20 +01:00
c02165df7b
Add exception catching in splitting times / dates 2021-01-06 23:11:05 +01:00
54764e741a
Add option to split and translate times with start and end dates
Close #1
2021-01-06 23:05:26 +01:00
a6030e4a5f
Fix bug in month names similar in English and German 2021-01-06 16:07:21 +01:00
8f612dede1
Read 1917-ig. as similar to 1917-ig in time splitter 2020-12-28 14:40:04 +01:00
6e910cd676
Add English month names for splitting time terms 2020-12-22 12:22:14 +01:00
a070970554
Remove empty newlines in class defs 2020-12-19 02:36:38 +01:00
0ea9c31845
Explicitly use global namespace in function calls 2020-10-23 17:03:51 +02:00