blob: 2a2d047c96254f68dd559975da1b8611fb6557e5 [file] [log] [blame]
Akron479994e2018-07-02 13:21:44 +02001<!DOCTYPE html>
2<html>
3 <head>
4 <title>Plugin demo</title>
5 <link type="text/css" rel="stylesheet" href="/css/kalamar.css" />
Akrona99315e2018-07-03 22:56:45 +02006 <!--
7 see https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP
8 <meta http-equiv="Content-Security-Policy" content="default-src 'self'; img-src https://*; child-src 'none';">
hebastae094dc62019-12-06 13:12:40 +01009 -->
10 <script>//<![CDATA[
11
12 window.KorAP = window.KorAP || {};
13
14 //]]></script>
Akronb0ae8412026-02-24 11:47:52 +010015
hebastae094dc62019-12-06 13:12:40 +010016 <script data-main="plugin-serverdemo.js" src="../js/lib/require.js" async="async"></script>
Akron479994e2018-07-02 13:21:44 +020017 </head>
Akronb0ae8412026-02-24 11:47:52 +010018 <body class="no-js"
19 data-korap-url="/"
20 data-hint-foundries="base,corenlp,dereko,malt,marmot,opennlp,spacy,tt"
21 itemscope
22 itemtype="http://schema.org/WebApplication">
Akron951a9952019-05-22 16:28:53 +020023 <p>Start the demo server with <code>morbo -l 'http://*:3003' t/server/plugin.pl</code> and open <a href="http://localhost:3003/demo/plugin-server.html"><code>this website</code></a>.</p>
Akron51ee6232019-12-17 21:00:05 +010024
Akronb0ae8412026-02-24 11:47:52 +010025<div id="kalamar-bg"></div>
26
27
28
29
30
31
32
33<aside tabindex="0" class=" invisible off">
34 <div>
35
36 </div>
37</aside>
38
39
40
41
42<nav class="navbar">
43 <a class="logo" data-testid="home" href="/instance/test"><h1><span>KorAP - Korpusanalyseplattform der nächsten Generation</span></h1></a>
44
45 <div class="navbar-group">
46 <h3 class="nav-link"><a class="link-guided-tour" data-testid="tour-start">Tour</a></h3><h3 class="nav-link"><a href="/instance/test/doc" class="tutorial" id="view-tutorial">Hilfe</a></h3>
47
48
49
50
51 <nav class="dropdown">
52 <div class="dropdown-btn login"></div>
53 <div class="dropdown-content dropdown-content--right">
54 <form accept-charset="utf-8" action="/instance/test/user/login" class="login" method="POST">
55 <legend><span>Anmelden</span></legend>
56 <input name="csrf_token" type="hidden" value="0a3feea1e8b1400421d18783b4aba1950a388215">
57 <input data-testid="handle-or-email" name="handle_or_email" placeholder="Benutzername oder Email" type="text">
58 <input name="fwd" type="hidden" value="/instance/test">
59 <input data-testid="pwd" name="pwd" placeholder="Passwort" type="password">
60 <button type="submit" class="btn-login" data-testid="login-submit"><span>Los!</span></button>
61</form> <p>Anmeldung mit einem registrierten <a href="https://perso.ids-mannheim.de/registration/" style="white-space: nowrap">Cosmas-II</a>-Konto</p>
62 </div>
63 </nav>
64
65 </div>
66
67 <div class="burger-icon"></div>
68</nav>
69
70
Akron51ee6232019-12-17 21:00:05 +010071 <header>
Akron7d18d8e2024-11-08 11:08:48 +010072 <form autocomplete="off" action="/kalamar" id="searchform">
73 <div id="searchbar">
Akronb0ae8412026-02-24 11:47:52 +010074 <input autocapitalize="off"
75 autocomplete="off"
76 autocorrect="off"
77 autofocus="autofocus"
78 id="q-field"
79 name="q"
80 placeholder="Finde ..."
81 spellcheck="false"
82 value="abcdefghijklmnopqrstuvwxyz"
83 type="search">
84 <button type="submit" id="qsubmit" title="Los!"><span>Los!</span></button>
Akron7d18d8e2024-11-08 11:08:48 +010085 <!-- <i class="fa fa-arrow-circle-down show-hint" onclick="hint.popUp()"></i> -->
86 </div>
87
Akron7d18d8e2024-11-08 11:08:48 +010088
Akronb0ae8412026-02-24 11:47:52 +010089 <!-- Search in the following virtual corpus -->
90 <div id="vc-view"></div>
91 in
92 <input id="cq" name="cq" type="text">
93
94 mit
95 <span class="select">
96 <select id="ql-field" name="ql"><option value="poliqarp">Poliqarp</option><option value="cosmas2">Cosmas II</option><option value="annis">Annis QL</option><option value="cqp">CQP (neu)</option><option value="cql">CQL v1.2</option><option value="fcsql">FCSQL</option></select>
97 </span>
98 <div class="button right">
99 <input checked class="checkbox" id="q-cutoff-field" name="cutoff" type="checkbox" value="1">
100 <label for="q-cutoff-field" title="Zeige nur die ersten Treffer in beliebiger Reihenfolge"><span id="glimpse"></span>Glimpse</label>
101 </div>
102 <div class="clear"></div>
103 </form>
104</header>
Akron51ee6232019-12-17 21:00:05 +0100105
hebastae094dc62019-12-06 13:12:40 +0100106 <main>
107 <script>
108 KorAP.koralQuery = {
109 "matches" : [ "..." ],
110 "corpus" : {
111 "@type" : "koral:docGroup",
112 "operation" : "operation:or",
113 "operands" : [ {
114 "@type" : "koral:docGroup",
115 "operation" : "operation:and",
116 "operands" : [ {
117 "@type" : "koral:doc",
118 "key" : "title",
119 "match" : "match:eq",
120 "value" : "Der Birnbaum",
121 "type" : "type:string"
122 }, {
123 "@type" : "koral:doc",
124 "key" : "pubPlace",
125 "match" : "match:eq",
126 "value" : "Mannheim",
127 "type" : "type:string"
128 }, {
129 "@type" : "koral:docGroup",
130 "operation" : "operation:or",
131 "operands" : [ {
132 "@type" : "koral:doc",
133 "key" : "subTitle",
134 "match" : "match:eq",
135 "value" : "Aufzucht und Pflege",
136 "type" : "type:string"
137 }, {
138 "@type" : "koral:doc",
139 "key" : "subTitle",
140 "match" : "match:eq",
141 "value" : "Gedichte",
142 "type" : "type:string"
143 } ]
144 } ]
145 }, {
146 "@type" : "koral:doc",
147 "key" : "pubDate",
148 "match" : "match:geq",
149 "value" : "2015-03-05",
150 "type" : "type:date",
151 "rewrites" : [ {
152 "@type" : "koral:rewrite",
153 "operation" : "operation:modification",
154 "src" : "querySerializer",
155 "scope" : "tree"
156 } ]
157 } ]
158 },
159 "query" : {
160 "wrap" : {
161 "layer" : "orth",
162 "match" : "match:eq",
163 "foundry" : "opennlp",
164 "key" : "Goethe",
165 "@type" : "koral:term"
166 },
167 "@type" : "koral:token"
168 },
169 "meta" : {
170 "serialQuery" : "tokens:s:Goethe",
171 "startIndex" : 0,
172 "version" : "unknown",
173 "itemsPerPage" : 25,
174 "context" : "p",
175 "benchmark" : "0.103553092 s",
176 "totalResults" : -1
177 }
178 };
179 </script>
180
181 <div id="resultinfo" class="found"></div>
Akron8d646d72018-07-08 13:45:53 +0200182 <div id="search">
183 <ol>
Akrone1c27f62018-07-20 11:42:59 +0200184 <li data-corpus-id="WPD"
185 data-doc-id="FFF"
186 data-text-id="01460"
187 data-match-id="p119-120"
188 data-available-info="base/s=spans corenlp/c=spans corenlp/ne=tokens corenlp/p=tokens corenlp/s=spans glemm/l=tokens mate/l=tokens mate/m=tokens mate/p=tokens opennlp/p=tokens opennlp/s=spans tt/l=tokens tt/p=tokens tt/s=spans xip/c=spans malt/d=rels"
189 id="WPD-FFF.01460-p119-120"
190 tabindex="6">
191 <div class="meta">WPD/III/78432</div>
192 <div class="match-main">
193 <div class="match-wrap">
194 <div class="snippet startMore endMore"><span class="context-left">Der Fehler unterläuft häufig bei der direkten Übersetzung aus dem Englischen, wenn im originalen Ausdruck die beiden Wortteile verschiedene Wörter sind und sich das Adjektiv wahlweise auf das erste oder zweite Wort bezieht. Ein Beispiel ist multiples Testproblem für multiple </span><span class="match">test</span><span class="context-right"> problem.</span></div>
195 </div>
196 </div>
197 <p class="ref"><strong>Fehlbezogenes Adjektiv</strong> by Joni2,Peterlustig,BWBot; published on 2005-03-28 as FFF.01460 (WPD)</p>
198 </li>
Akron8d646d72018-07-08 13:45:53 +0200199 </ol>
200 </div>
Akron479994e2018-07-02 13:21:44 +0200201 </main>
Akronb0ae8412026-02-24 11:47:52 +0100202
203<footer>
204 <nav>
205 <div><a href="http://www.ids-mannheim.de/kl/projekte/korap/">Über KorAP</a></div><div><a href="/instance/test/doc//faq#howToCite">Zitierhilfe</a></div><div><a href="http://www.ids-mannheim.de/allgemein/impressum.html">Impressum</a></div><div><a href="http://www.ids-mannheim.de/allgemein/datenschutz/">Datenschutz</a></div><div><a class="embedded-link" href="/instance/test/doc/korap/kalamar">V 0.64.0</a></div>
206 </nav>
207 <div id="logos">
208 <a href="http://www.ids-mannheim.de/" class="logo"><p id="ids-logo"><span>Entwickelt am Leibniz-Institut für Deutsche Sprache (IDS)</span></p></a>
209 </div>
210</footer>
211
212
Akron479994e2018-07-02 13:21:44 +0200213 </body>
214</html>