hebasta | 5df796f | 2019-05-21 15:27:12 +0200 | [diff] [blame] | 1 | /** |
Helge | 2be5af0 | 2024-02-27 15:49:24 +0100 | [diff] [blame] | 2 | * Corpus specific localization, here for DeReKo (http://www.ids-mannheim.de/kl/projekte/korpora.html) |
hebasta | 5df796f | 2019-05-21 15:27:12 +0200 | [diff] [blame] | 3 | * |
4 | * @author Helge Stallkamp | ||||
5 | */ | ||||
6 | |||||
Akron | e51eaa3 | 2020-11-10 09:35:53 +0100 | [diff] [blame] | 7 | "use strict"; |
8 | |||||
Akron | bf6527f | 2023-01-27 10:00:02 +0100 | [diff] [blame] | 9 | define(function () { |
hebasta | 5df796f | 2019-05-21 15:27:12 +0200 | [diff] [blame] | 10 | const loc = KorAP.Locale; |
Marc Kupietz | be90c94 | 2024-10-01 17:25:30 +0200 | [diff] [blame] | 11 | |
hebasta | 94e47cb | 2019-07-24 22:24:27 +0200 | [diff] [blame] | 12 | //Query example for guided tour |
Akron | 56f9d10 | 2023-01-27 16:52:24 +0100 | [diff] [blame] | 13 | if (loc.TOUR_Qexample == undefined) |
14 | loc.TOUR_Qexample = "laufen"; | ||||
hebasta | 94e47cb | 2019-07-24 22:24:27 +0200 | [diff] [blame] | 15 | |
16 | /* To define vc for guided tour */ | ||||
Akron | 56f9d10 | 2023-01-27 16:52:24 +0100 | [diff] [blame] | 17 | if (loc.TOUR_vcQuery == undefined) |
18 | loc.TOUR_vcQuery = { | ||||
hebasta | 94e47cb | 2019-07-24 22:24:27 +0200 | [diff] [blame] | 19 | '@type' : 'koral:doc', |
Marc Kupietz | be90c94 | 2024-10-01 17:25:30 +0200 | [diff] [blame] | 20 | 'key' : 'pubDate', |
hebasta | 94e47cb | 2019-07-24 22:24:27 +0200 | [diff] [blame] | 21 | 'match': 'match:eq', |
Marc Kupietz | be90c94 | 2024-10-01 17:25:30 +0200 | [diff] [blame] | 22 | 'value' : '2018', |
hebasta | 94e47cb | 2019-07-24 22:24:27 +0200 | [diff] [blame] | 23 | }; |
Marc Kupietz | be90c94 | 2024-10-01 17:25:30 +0200 | [diff] [blame] | 24 | |
Akron | 56f9d10 | 2023-01-27 16:52:24 +0100 | [diff] [blame] | 25 | if (loc.TOUR_Relations == undefined) |
Marc Kupietz | 1c20a31 | 2024-10-01 18:21:40 +0200 | [diff] [blame] | 26 | loc.TOUR_Relations = "malt/d"; |
hebasta | 7fa6f08 | 2019-11-17 19:00:52 +0100 | [diff] [blame] | 27 | |
Marc Kupietz | be90c94 | 2024-10-01 17:25:30 +0200 | [diff] [blame] | 28 | if (loc.TOUR_pubDate == undefined) |
29 | loc.TOUR_pubDate = "2018"; | ||||
hebasta | 94e47cb | 2019-07-24 22:24:27 +0200 | [diff] [blame] | 30 | }); |