Commit Graph
70 Commits
Author SHA1 Message Date
jrenslin af454ec013 Setup ID getter by rewrite for tags to return arrays
Tag rewrites can now be set for multiple target tags.
2020-12-20 23:24:08 +01:00
jrenslin fce933c12a Extend list of disallowed noda terms 2020-12-20 15:40:30 +01:00
jrenslin b27f0ec918 Add "Keine Angaben" to list of disallowed inputs for places 2020-12-19 02:37:38 +01:00
jrenslin a070970554 Remove empty newlines in class defs 2020-12-19 02:36:38 +01:00
jrenslin ca13f36c0d Add function to get tag IDs by their translated names 2020-12-07 13:43:07 +01:00
jrenslinandstefan 50ff1a2339 Add script to get highest related tag 2020-10-30 16:30:23 +01:00
jrenslinandstefan 0ea9c31845 Explicitly use global namespace in function calls 2020-10-23 17:03:51 +02:00
jrenslinandstefan 14e82826ae Fix bug in getting place IDs by noda links 2020-10-05 12:05:48 +02:00
jrenslinandstefan 99aa1d74ad Improve / make more explicit: type safety 2020-10-04 23:59:40 +02:00
jrenslinandstefan 97566ea2d9 Split more time variations 2020-10-04 23:57:59 +02:00
jrenslinandstefan 8a4a8f7ed8 Split more variations of dots in dates, century ranges 2020-10-04 23:20:58 +02:00
jrenslinandstefan d0fe1e89ed Improve trimming inputs when cleaning certainty indicators 2020-10-04 22:52:15 +02:00
jrenslinandstefan 1f4d692fb5 Enable automatic translations of times "before" a given date 2020-10-04 19:34:17 +02:00
jrenslinandstefan 1685d78f65 Allow splitting times "before <X>" 2020-10-04 19:27:23 +02:00
jrenslinandstefan a0037c9883 Allow splitting times after <year><month> 2020-10-04 19:17:18 +02:00
jrenslinandstefan be46c39efd Fix wrong assumption on handling counting times when autotranslating
"after <month>"
2020-10-04 18:36:03 +02:00
jrenslinandstefan c9a1a74bce Enable autotranslating of times 'after' a certain date 2020-10-04 18:21:33 +02:00
jrenslinandstefan 2a57537436 Allow splitting times "Nach 1905" ("Nach " followed by 4 digit time
number)
2020-10-04 17:39:34 +02:00
jrenslinandstefan 36d27e0f73 Remove / disallow certain input names in NodaUncertaintyHelper 2020-10-04 02:40:21 +02:00
jrenslinandstefan 4e934e380c Use [0-9]{4} spelling time 2020-10-03 19:13:27 +02:00
jrenslinandstefan ff35ca7bd9 Enable time splitter to deal with some roman numbers 2020-10-03 16:10:43 +02:00
jrenslinandstefan 80cd88222d Enable time splitter to recognize sz as abbr. for század 2020-10-03 15:59:49 +02:00
jrenslinandstefan 3664bcf3f6 Add getting places by noda links to NodaIDGetter 2020-10-01 12:53:27 +02:00
jrenslinandstefan 67cc76cff9 Allow splitting of German short decade names: 20er or 1920er 2020-09-27 17:12:34 +02:00
jrenslinandstefan 91f435a2e4 Enable parsing of months: 2020-01 2020-09-27 17:10:17 +02:00
jrenslinandstefan baeb9ba72e Add test assertion for splitting international dates 2020-09-27 12:40:15 +02:00
jrenslinandstefan de7968fbbd Only allow splitting by international format if month < 13 2020-09-27 12:38:38 +02:00
jrenslinandstefan 48f3bd2c3f Allow splitting international dates (2020-12-20) 2020-09-27 12:36:34 +02:00
jrenslinandstefan 830b37f547 Improve autotranslating of times before 1.1.1000 2020-09-26 16:10:26 +02:00
jrenslinandstefan c9d8d4bdbd Allow automatic translations of days before 1000 CE 2020-09-26 16:02:18 +02:00
jrenslinandstefan b405855fc2 Disallow translating as decade before 1000 CE 2020-09-26 15:30:30 +02:00
jrenslinandstefan 8eda7d4c7f Improve type-safety 2020-09-26 15:21:32 +02:00
jrenslinandstefan 2b8b5d5743 Add check for improved type safety 2020-09-26 15:19:04 +02:00
jrenslinandstefan 3058f25a1c Add tests for German dates, enable splitting of 5 digit timespans 2020-09-26 15:10:06 +02:00
jrenslinandstefan 14b0d8037d Add tests for splitting Hungarian dates 2020-09-26 14:15:15 +02:00
jrenslinandstefan d56d47aee1 Add test for NodaTimeAutotranslater, allow parsing days and months BC 2020-09-26 13:20:22 +02:00
jrenslinandstefan cb2eff61a3 Use local representation of DB connection in NodaTimeAutotranslater 2020-09-26 12:21:00 +02:00
jrenslinandstefan 7a1dcbb14f Fix 2020-09-26 10:23:37 +02:00
jrenslinandstefan 1cfbfe7743 Improve type-safety 2020-09-25 22:29:56 +02:00
jrenslinandstefan 7bc5bdf335 Allow parsing of "1910-1925." 2020-09-24 17:59:15 +02:00
jrenslinandstefan 9f39437c6e Improve splitting and translating of times BC 2020-09-24 17:35:40 +02:00
jrenslinandstefan 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
jrenslinandstefan 1668495573 Add missing abbreviations for Hungarian months, parse -tól 2020-09-24 15:45:50 +02:00
jrenslinandstefan ddaa31646c Enable splitting of es évek years 2020-09-24 13:24:48 +02:00
jrenslinandstefan 36d8257ca0 Fix problem in last-syllable-depending time suffixes in Hungarian (as
évek vs. es évek)
2020-09-24 11:54:01 +02:00
jrenslinandstefan d7e2c7f4ed Add automatic translation of decade names 2020-09-24 11:47:54 +02:00
jrenslinandstefan a4a94a8f8a Allow autotranslation of time spans before 1000 CE 2020-09-23 17:03:12 +02:00
jrenslinandstefan 0f6a6ebc84 Add automatic splitting and translation of centuries (CE) 2020-09-23 10:28:04 +02:00
jrenslinandstefan 308e11b4f8 Add automatic translation of times since and until another time 2020-09-22 22:46:48 +02:00
jrenslinandstefan 4f1e65934a Enable NodaTimeSplitter to split dates with uncertain end or start
(seit, bis)
2020-09-22 17:58:26 +02:00
jrenslinandstefan 707f781f1e Fix attempt to parse 5-digit times as time German dates 2020-09-22 11:23:21 +02:00
jrenslinandstefan b8dbfb32df Add körül as a known time uncertainty indicator (suffix) 2020-09-22 11:03:39 +02:00
jrenslinandstefan dd2fbafd25 Improve type-safety / explicitness 2020-09-21 10:49:34 +02:00
jrenslinandstefan e4558ae227 Add trim to place names for checking uncertainty also at start of
checker
2020-09-21 02:11:58 +02:00
jrenslinandstefan e53eec84e6 Add functions cleaning of uncertainty indicators to
NodaUncertaintyHelper
2020-09-21 01:57:21 +02:00
jrenslinandstefan 923505f146 Add NodaUncertaintyHelper for guessing uncertainty of noda entries 2020-09-21 01:24:07 +02:00
jrenslinandstefan 7bbd50a586 Add class NodaIDGetter for collecting functions to identify noda
entities by available attributes
2020-09-20 22:40:40 +02:00
jrenslinandstefan 8f7df866d7 Fix bug in splitter causing wrong positives 2020-09-20 18:50:26 +02:00
jrenslinandstefan ce6e388866 Fix 2020-09-20 18:32:48 +02:00
jrenslinandstefan d1c9e6e15f Fix missing output value in some cases of time splitting 2020-09-20 18:04:41 +02:00
jrenslinandstefan f268ab412c Add capability to parse dates like "2300-800 v. Chr." (German) and "Kr.
e. 1200" (Hungarian)
2020-09-20 17:40:45 +02:00
jrenslinandstefan 8da158aa77 Enable splitting of timespans of three-digit year names BC (in German) 2020-09-20 17:33:56 +02:00
jrenslinandstefan c0047a5956 Enable splitting of 4-digit times BC (in German) 2020-09-20 17:32:20 +02:00
jrenslinandstefan 974fe39cde Allow translations of times before 1000 CE 2020-09-20 17:13:42 +02:00
jrenslinandstefan fd0bd48995 Strip away variations of n. Chr. from time strings for splitting 2020-09-20 15:52:02 +02:00
jrenslinandstefan affe8e3741 Teach time splitter to handle multi-year time spans in CE 2020-09-20 15:42:59 +02:00
jrenslinandstefan c298794a32 Improve type-safety 2020-09-18 21:38:49 +02:00
jrenslinandstefan 4aa2a5df2f Add automatic translation of month names for main time names in splitter 2020-09-18 21:24:21 +02:00
jrenslinandstefan 130140e910 Remove "közott" for timespans 2020-09-18 19:17:10 +02:00
jrenslinandstefan f05938c867 Initial 2020-09-18 18:48:40 +02:00