Commit Graph

63 Commits

Author SHA1 Message Date
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
97566ea2d9 Split more time variations 2020-10-04 23:57:59 +02:00
8a4a8f7ed8 Split more variations of dots in dates, century ranges 2020-10-04 23:20:58 +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
4e934e380c Use [0-9]{4} spelling time 2020-10-03 19:13:27 +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
de7968fbbd Only allow splitting by international format if month < 13 2020-09-27 12:38:38 +02:00
48f3bd2c3f Allow splitting international dates (2020-12-20) 2020-09-27 12:36:34 +02:00
c9d8d4bdbd Allow automatic translations of days before 1000 CE 2020-09-26 16:02:18 +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
7a1dcbb14f Fix 2020-09-26 10:23:37 +02:00
1cfbfe7743 Improve type-safety 2020-09-25 22:29:56 +02:00
68d07c03d8 Allow splitting timespans BC.E. 2020-09-25 09:00:54 +02:00
7bc5bdf335 Allow parsing of "1910-1925." 2020-09-24 17:59:15 +02:00
9f39437c6e Improve splitting and translating of times BC 2020-09-24 17:35:40 +02:00
785b1c5156 Allow parsing of single-digits century spans also in the form of 1-3.
század
2020-09-24 15:49:42 +02:00
1668495573 Add missing abbreviations for Hungarian months, parse -tól 2020-09-24 15:45:50 +02:00
ddaa31646c Enable splitting of es évek years 2020-09-24 13:24:48 +02:00
a4a94a8f8a Allow autotranslation of time spans before 1000 CE 2020-09-23 17:03:12 +02:00
0f6a6ebc84 Add automatic splitting and translation of centuries (CE) 2020-09-23 10:28:04 +02:00
308e11b4f8 Add automatic translation of times since and until another time 2020-09-22 22:46:48 +02:00
4f1e65934a Enable NodaTimeSplitter to split dates with uncertain end or start
(seit, bis)
2020-09-22 17:58:26 +02:00