hebasta | 5df796f | 2019-05-21 15:27:12 +0200 | [diff] [blame] | 1 | /** |
| 2 | * Corpus specific localization, here for DeReKo (http://www1.ids-mannheim.de/kl/projekte/korpora.html) |
| 3 | * |
| 4 | * @author Helge Stallkamp |
| 5 | */ |
| 6 | |
Akron | e51eaa3 | 2020-11-10 09:35:53 +0100 | [diff] [blame] | 7 | "use strict"; |
| 8 | |
hebasta | 94e47cb | 2019-07-24 22:24:27 +0200 | [diff] [blame] | 9 | define(['vc', 'vc/doc'], function (vcClass, docClass) { |
hebasta | 5df796f | 2019-05-21 15:27:12 +0200 | [diff] [blame] | 10 | const loc = KorAP.Locale; |
hebasta | 94e47cb | 2019-07-24 22:24:27 +0200 | [diff] [blame] | 11 | |
| 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', |
| 20 | 'key' : 'docSigle', |
| 21 | 'match': 'match:eq', |
Akron | 1a7f73a | 2020-02-03 16:22:56 +0100 | [diff] [blame] | 22 | 'value' : 'WPD17/D01', |
hebasta | 94e47cb | 2019-07-24 22:24:27 +0200 | [diff] [blame] | 23 | }; |
| 24 | |
Akron | 56f9d10 | 2023-01-27 16:52:24 +0100 | [diff] [blame^] | 25 | if (loc.TOUR_Relations == undefined) |
| 26 | loc.TOUR_Relations = "corenlp/c"; |
hebasta | 7fa6f08 | 2019-11-17 19:00:52 +0100 | [diff] [blame] | 27 | |
Akron | 56f9d10 | 2023-01-27 16:52:24 +0100 | [diff] [blame^] | 28 | if (loc.TOUR_DocSigle == undefined) |
| 29 | loc.TOUR_DocSigle = "WPD17/D01"; |
hebasta | 94e47cb | 2019-07-24 22:24:27 +0200 | [diff] [blame] | 30 | }); |