-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathANNIS-tips.html
125 lines (94 loc) · 8.17 KB
/
ANNIS-tips.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Coptic SCRIPTORIUM</title>
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<link rel="icon" href="/favicon.ico" type="image/x-icon">
<link href="https://fonts.googleapis.com/css?family=Asul:400,700" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/bxslider/4.2.12/jquery.bxslider.css">
<link rel="stylesheet" href="css/global.css" type="text/css" charset="utf-8"/>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-55145025-1', 'auto');
ga('send', 'pageview');
</script>
</head>
<body class="home">
<div id="wrapper">
<header id="header">
</header>
<div id="sub-menu">
</div>
<section id="main">
<div class="container">
<!-- edit the following section to add breadcrumbs to the correct page ============================== -->
<div class="breadcrumb">
<a href="/tools">Tools</a>
</div>
<!-- CONTENT STARTS HERE =============================== -->
<div id="content">
<h3>Searching the Corpora: Example Queries</h3>
<p>The search and visualization tool ANNIS is the most powerful way to use the texts for research purposes. We've provided some sample queries below to demonstrate some of the kinds of searches you may construct. ANNIS queries use either regular expressions or the ANNIS query language. If you are familiar with ANNIS or regular expressions, jump right in. If not, you may wish to try some of the sample queries and then substitute terms or search parameters to adapt them to your needs and learn the system. After clicking on the magnifying glass, you will be taken to a new page with the ANNIS query and results. The query will appear in the box on the upper left. The corpus/corpora you are searching will be selected on the lower left. And your search results will appear in the panel on the right.</p>
<ul class="example_queries">
<li> Search for <strong>Greek verbs</strong> in multiple corpora: <br/>
<a href="https://annis.copticscriptorium.org/annis/?id=ddb517a8-a257-44d4-a534-cd3c609ad818" target="_blank"><img src="img/search.gif" alt="search"/></a><tt>pos="V" _o_ lang="Greek"</tt> </li>
</ul>
<blockquote>
<p><em>Note: our language tagger tags for the oldest language of origin, including Hebrew. For *all* loan words, use the following query to capture all language tags:</em></p>
<p><a href="https://annis.copticscriptorium.org/annis/?id=0ae12a80-c1f4-4e64-97c0-44e76af8dc83" target="_blank"><img src="img/search.gif" alt="search"/></a><tt>pos="V" _o_ lang</tt></p>
<p><em>Also, a compound word containing both Greek and Coptic contains a language tag only for the Greek morph within the compound. Hence, we use syntax for finding overlapping search fields ("_o_") rather than equivalent fields (</em>"_=_").</p>
</blockquote>
<ul class="example_queries">
<li> Search for <b>focalizing converters</b> in Besa's letters: <br/>
<a href="https://annis.copticscriptorium.org/annis/scriptorium#_q=cG9zPSJDRk9DIg&_c=YmVzYS5sZXR0ZXJz&cl=5&cr=5&s=0&l=10&_seg=bm9ybV9ncm91cA" target="_blank"><img src="img/search.gif" alt="search"/></a><tt>pos="CFOC"</tt></li>
<li>Search for the <strong>lemma</strong> "<span class="anti">ⲥⲟⲛ</span>" in Shenoute's writings:<br />
<a href="https://annis.copticscriptorium.org/annis/?id=f9627302-cf4a-47f5-bca3-1dff5f221d54" target="_blank"><img src="img/search.gif" alt="search"/></a> lemma="<span class="anti">ⲥⲟⲛ</span>"<br />
<br />
Compare to a search for the (normalized) <strong>word</strong> "<span class="anti">ⲥⲟⲛ</span>" in Shenoute's writings:<br />
<a href="https://annis.copticscriptorium.org/annis/?id=f9627302-cf4a-47f5-bca3-1dff5f221d54" target="_blank"><img src="img/search.gif" alt="search"/></a> norm="<span class="anti">ⲥⲟⲛ</span>"</li>
</ul>
<ul class="example_queries">
<li>Look for <b>locational expressions</b> in the Apophthegmata Patrum corpus (currently a subset of the corpus is annotated for locational expressions): <br/>
<a href="https://annis.copticscriptorium.org/annis/scriptorium#_q=ZW50aXR5PSJwbGFjZSI&_c=YXBvcGh0aGVnbWF0YS5wYXRydW0&cl=5&cr=5&s=0&l=10&_seg=bm9ybV9ncm91cA" target="_blank"><img src="img/search.gif" alt="search"/></a><tt>entity="place"</tt></li>
<li>Find some mentions of <b>the following terms of kinship in the translation</b> of Abraham our Father: <br/>
<a href="https://annis.copticscriptorium.org/annis/scriptorium#_q=dHJhbnNsYXRpb249Ly4qKFtNbV1vdGhlcnxbQmJdcm90aGVyfFtGZl1hdGhlcnxbU3NdaXN0ZXJ8W1NzXW9ufFtEZF1hdWdodGVyKS4qLw&_c=c2hlbm91dGUuYWJyYWhhbS5vdXIuZmF0aGVy&cl=5&cr=5&s=0&l=10&_seg=bm9ybV9ncm91cA" target="_blank"><img src="img/search.gif" alt="search"/></a><tt>translation=/.*([Mm]other|[Bb]rother|[Ff]ather|[Ss]ister|[Ss]on|[Dd]aughter).*/</tt></li>
<li>Search for the normalized word ϯ in the Coptic Treebank <b>but not</b> as a verb: <br/>
<a href="https://annis.copticscriptorium.org/annis/scriptorium#_q=cG9zIT0iViIgXz1fIG5vcm09Is-vIg&_c=Y29wdGljLnRyZWViYW5r&cl=5&cr=5&s=0&l=10&_seg=bm9ybV9ncm91cA" target="_blank"><img src="img/search.gif" alt="search"/></a><tt>pos!="V" _=_ norm="<span class="anti">ϯ</span>"</tt></li>
<li>Search for <b>lines ending with a letter written in small print</b> in Besa's letters: <br/>
<a href="https://annis.copticscriptorium.org/annis/?id=d808c575-7886-4945-b057-54126d9dccc7" target="_blank"><img src="img/search.gif" alt="search"/></a><tt>hi_rend=/.*small.*/ _r_ lb_n</tt></li>
<li>Filter by <b>metadata</b> to see how many lines of Abraham Our Father <b>don't come from the manuscript MONB.YA</b>: <br/>
<a href="https://annis.copticscriptorium.org/annis/scriptorium#_q=bGJfbiAmIG1ldGE6Om1zTmFtZSE9Ik1PTkIuWUEi&_c=c2hlbm91dGUuYWJyYWhhbS5vdXIuZmF0aGVy&cl=5&cr=5&s=0&l=10&_seg=bm9ybV9ncm91cA"MONB.YA"" target="_blank"><img src="img/search.gif" alt="search"/></a><tt>lb_n @* msName!="MONB.YA"</tt></li>
<li>Find words with <b>the morpheme <span class="anti">ⲙⲛⲧ-</span></b> in Besa's letters and Shenoute's Acephalous Work 22: <br/>
<a href="https://annis.copticscriptorium.org/annis/scriptorium#_q=bW9ycGg9IuKymeKym-KypyI&_c=YmVzYS5sZXR0ZXJzLHNoZW5vdXRlLmEyMg&cl=5&cr=5&s=0&l=10&_seg=bm9ybV9ncm91cA" target="_blank"><img src="img/search.gif" alt="search"/></a><tt>morph="<span class="anti">ⲙⲛⲧ</span>"</tt></li>
<li>Find <b>common nouns referring back to proper names</b> in the Apophthegmata Patrum corpus (currently a subset of the corpus is annotated for to coreference these entities): <br/>
<a href="https://annis.copticscriptorium.org/annis/scriptorium#_q=cG9zPSJOIiAmIHBvcz0iTlBST1AiICYgZW50aXR5ICYgZW50aXR5ICYgIzMgLT5jb3JlZlt0eXBlPS9kaWZmfGFwcG9zL10gIzQgJiAjM19yXyMxICYgIzRfcl8jMg&_c=YXBvcGh0aGVnbWF0YS5wYXRydW0&cl=5&cr=5&s=0&l=10&_seg=bm9ybV9ncm91cA" target="_blank"><img src="img/search.gif" alt="search"/></a><tt>pos="N" & pos="NPROP" & entity & entity & #3 ->coref[type=/diff|appos/] #4 & #3 _r_ #1 & #4 _r_ #2</tt></li>
</ul>
</li>
</ul>
</div>
</br>
</div>
<!-- END CONTENT ============================== -->
</section>
<footer id="footer">
</footer>
</div> <!-- /#wrapper -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<!-- edit addClass page below; delete sub-menu section if not used ============================== -->
<script>
$(function(){
//$("#navbar").load("nav.html");
$("#header").load("header.html",function() {
$(".m-tools").addClass('on');
});
$("#footer").load("footer.html");
});
</script>
</body>
</html>