blob: 718591e29929fceb688d3dfe2f3435b91160c6ba [file] [log] [blame]
hebasta5df796f2019-05-21 15:27:12 +02001/**
Helge2be5af02024-02-27 15:49:24 +01002 * Corpus specific localization, here for DeReKo (http://www.ids-mannheim.de/kl/projekte/korpora.html)
hebasta5df796f2019-05-21 15:27:12 +02003 *
4 * @author Helge Stallkamp
5 */
6
Akrone51eaa32020-11-10 09:35:53 +01007"use strict";
8
Akron2d5b0282025-06-27 13:01:51 +02009window.KorAP = window.KorAP || {};
10
Akronbf6527f2023-01-27 10:00:02 +010011define(function () {
hebasta5df796f2019-05-21 15:27:12 +020012 const loc = KorAP.Locale;
Marc Kupietzbe90c942024-10-01 17:25:30 +020013
Akron2d5b0282025-06-27 13:01:51 +020014 if (loc == undefined)
15 return;
16
hebasta94e47cb2019-07-24 22:24:27 +020017 //Query example for guided tour
Akron56f9d102023-01-27 16:52:24 +010018 if (loc.TOUR_Qexample == undefined)
19 loc.TOUR_Qexample = "laufen";
hebasta94e47cb2019-07-24 22:24:27 +020020
21 /* To define vc for guided tour */
Akron56f9d102023-01-27 16:52:24 +010022 if (loc.TOUR_vcQuery == undefined)
23 loc.TOUR_vcQuery = {
hebasta94e47cb2019-07-24 22:24:27 +020024 '@type' : 'koral:doc',
Marc Kupietzbe90c942024-10-01 17:25:30 +020025 'key' : 'pubDate',
hebasta94e47cb2019-07-24 22:24:27 +020026 'match': 'match:eq',
Marc Kupietzbe90c942024-10-01 17:25:30 +020027 'value' : '2018',
hebasta94e47cb2019-07-24 22:24:27 +020028 };
Marc Kupietzbe90c942024-10-01 17:25:30 +020029
Akron56f9d102023-01-27 16:52:24 +010030 if (loc.TOUR_Relations == undefined)
Marc Kupietz1c20a312024-10-01 18:21:40 +020031 loc.TOUR_Relations = "malt/d";
hebasta7fa6f082019-11-17 19:00:52 +010032
Marc Kupietzbe90c942024-10-01 17:25:30 +020033 if (loc.TOUR_pubDate == undefined)
34 loc.TOUR_pubDate = "2018";
hebasta94e47cb2019-07-24 22:24:27 +020035});