blob: 91607ea735830760ee2d622a3b3728f9a6a16305 [file] [log] [blame]
Akron80055992017-12-20 16:30:52 +01001requirejs.config({
2 baseUrl: '../js/src',
3 paths : {
4 'lib': '../lib'
5 }
6});
7
8window.KorAP = window.KorAP || {};
9
10require(['match/table',
11 'lib/domReady',
12 'hint/foundries/opennlp',
13 'hint/foundries/cnx',
14 'hint/foundries/mate'
15 ], function (matchTableClass, domReady) {
16
17 var snippet = "<span title=\"cnx/l:meist\">" +
18 " <span title=\"cnx/p:ADV\">" +
19 " <span title=\"cnx/syn:@PREMOD\">" +
20 " <span title=\"mate/l:meist\">" +
21 " <span title=\"mate/p:ADV\">" +
22 " <span title=\"opennlp/p:ADV\">meist</span>" +
23 " </span>" +
24 " </span>" +
25 " </span>" +
26 " </span>" +
27 "</span>" +
28 "<span title=\"cnx/l:deutlich\">" +
29 " <span title=\"cnx/p:A\">" +
30 " <span title=\"cnx/syn:@PREMOD\">" +
31 " <span title=\"mate/l:deutlich\">" +
32 " <span title=\"mate/m:degree:pos\">" +
Akronf2279c42017-12-21 13:48:46 +010033 " <span title=\"mate/m:case:nom\">" +
34 " <span title=\"mate/p:ADJD\">" +
35 " <span title=\"opennlp/p:ADJD\">deutlich</span>" +
36 " </span>" +
Akron80055992017-12-20 16:30:52 +010037 " </span>" +
38 " </span>" +
39 " </span>" +
40 " </span>" +
41 " </span>" +
42 "</span>" +
43 "<span title=\"cnx/l:fähig\">" +
44 " <span title=\"cnx/l:leistung\">" +
45 " <span title=\"cnx/p:A\">" +
46 " <span title=\"cnx/syn:@NH\">" +
47 " <span title=\"mate/l:leistungsfähig\">" +
48 " <span title=\"mate/m:degree:comp\">" +
49 " <span title=\"mate/p:ADJD\">" +
50 " <span title=\"opennlp/p:ADJD\">leistungsfähiger</span>" +
51 " </span>" +
52 " </span>" +
53 " </span>" +
54 " </span>" +
55 " </span>" +
56 " </span>" +
57 "</span>";
58
59
60 domReady(function () {
61 var mt = matchTableClass.create(snippet);
62 document.getElementById('matchtable').appendChild(mt.element());
63 });
64});