Statistics
| Revision:

root / Portal / configurations / demo / html / Home_srcmf.jsp @ 7

History | View | Annotate | Download (7 kB)

1 7 alavrent
<jsp:directive.page contentType="text/html;charset=UTF-8" />
2 7 alavrent
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 7 alavrent
<html xmlns="http://www.w3.org/1999/xhtml">
4 7 alavrent
<head>
5 7 alavrent
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6 7 alavrent
<title></title>
7 7 alavrent
</head>
8 7 alavrent
9 7 alavrent
<body>
10 7 alavrent
<div style="padding-left:25px;">
11 7 alavrent
<h1>Welcome to the SRCMF demo</h1>
12 7 alavrent
<p>
13 7 alavrent
In this portal you will be able to query the syntactic annotations of the SRCMF sample corpus (Beroul) with the TigerSearch search engine.
14 7 alavrent
</p>
15 7 alavrent
16 7 alavrent
<h1> Use of TXM portal interface </h1>
17 7 alavrent
18 7 alavrent
<p>
19 7 alavrent
To begin a TigerSearch query:
20 7 alavrent
<ul>
21 7 alavrent
<li> right click on the "SRCMF2" corpus icon in the left panel.</li>
22 7 alavrent
<li> select the "Tiger Search" menu item</li>
23 7 alavrent
<li> A new search tab will open, and allow you to type TigerSearch queries</li>
24 7 alavrent
<li> The "Search" button will run the query</li>
25 7 alavrent
<li> The first matching tree will be displayed in the panel below</li>
26 7 alavrent
</ul>
27 7 alavrent
</p>
28 7 alavrent
29 7 alavrent
<p>
30 7 alavrent
The central bar then allows you to navigate through the results.
31 7 alavrent
<ul>
32 7 alavrent
<li>the "|<" button shows the first match</li>
33 7 alavrent
<li>the "<" button shows the previous match</li>
34 7 alavrent
<li>the ">" button shows the next match</li>
35 7 alavrent
<li>the ">|" button show the last match</li>
36 7 alavrent
<li>the "Export" button opens a new window with the current tree, that you can save in a file</li>
37 7 alavrent
</ul>
38 7 alavrent
</p>
39 7 alavrent
40 7 alavrent
<p>
41 7 alavrent
In the left panel, all the usual TXM commands are also available on the "SRCMF2" corpus (by right clicking on the corpus):
42 7 alavrent
<ul>
43 7 alavrent
<li> Dimensions: gives the number of tokens and the number of types of the corpus</li>
44 7 alavrent
<li> Index: gives the frequency list of results of CQL patterns</li>
45 7 alavrent
<li> Lexicon: gives the frequency list of word properties</li>
46 7 alavrent
<li> Concordances: builds a KWIC concordance of the results of a CQL query</li>
47 7 alavrent
<li> Tiger Search: displays the matching trees of a TIGERSearch query</li>
48 7 alavrent
<li> Context: builds a concordance of the results of a CQL query</li>
49 7 alavrent
<li> Edition: displays the corpus text</li>
50 7 alavrent
</ul>
51 7 alavrent
</p>
52 7 alavrent
53 7 alavrent
<h1>SRCMF corpus: TIGERSearch web interface</h1>
54 7 alavrent
55 7 alavrent
<h2>Query format</h2>
56 7 alavrent
57 7 alavrent
<p>Type query using standard TIGERSearch syntax in the format <tt>#node:[ properties ] operator #node:[ properties ]</tt>.
58 7 alavrent
Full documentation for the query language may be found <a href = "http://www.ims.uni-stuttgart.de/projekte/TIGER/TIGERSearch/doc/html/QueryLanguage.html">here</a>;
59 7 alavrent
see also the <a href = "http://www.ims.uni-stuttgart.de/projekte/TIGER/TIGERSearch/doc/html/QueryLanguage_QuickReference.html">quick reference</a>.
60 7 alavrent
</p>
61 7 alavrent
62 7 alavrent
<h2>Model semantics</h2>
63 7 alavrent
64 7 alavrent
<h3>Non-terminal nodes</h3>
65 7 alavrent
66 7 alavrent
<p>The corpus contains two main types of non-terminal node: <strong>heads</strong> and <strong>structures</strong>.
67 7 alavrent
These alternate in the hierarchy: <tt>structure >M head >D structure(s)... >M head</tt>.
68 7 alavrent
69 7 alavrent
<p>Each non-terminal node has a <tt>cat</tt> property.</p>
70 7 alavrent
The <tt>cat</tt> property of a head gives its morphological type:
71 7 alavrent
<span title="Finite verb"><tt>VFin</tt></span>,
72 7 alavrent
<span title="Infinitive"><tt>VInf</tt></span>,
73 7 alavrent
<span title="Participle"><tt>VPar</tt></span>,
74 7 alavrent
<span title="Noun"><tt>Nom</tt></span>,
75 7 alavrent
<span title="Adjective"><tt>Adj</tt></span>,
76 7 alavrent
<span title="Adverb"><tt>Adv</tt></span>.
77 7 alavrent
<p>The <tt>cat</tt> property of a structure node gives its function relative to the head on which it depends:
78 7 alavrent
<span title="Auxiliated non-finite verb (neither passive nor active)"><tt>Aux</tt></span>,
79 7 alavrent
<span title="Auxiliated non-finite verb (active)"><tt>AuxA</tt></span>,
80 7 alavrent
<span title="Auxiliated non-finite verb (passive)"><tt>AuxP</tt></span>,
81 7 alavrent
<span title="Determiner"><tt>Det</tt></span>,
82 7 alavrent
<span title="Modifier"><tt>ModA</tt></span>,
83 7 alavrent
<span title="Dislocated modifier"><tt>ModD</tt></span>,
84 7 alavrent
<span title="Object attribute"><tt>AtObj</tt></span>,
85 7 alavrent
<span title="Subject attribute"><tt>AtSj</tt></span>,
86 7 alavrent
<span title="Non-finite clause"><tt>Regim</tt></span>,
87 7 alavrent
<span title="Complement"><tt>Cmpl</tt></span>,
88 7 alavrent
<span title="Object"><tt>Obj</tt></span>,
89 7 alavrent
<span title="Reflexive"><tt>Refl</tt></span>,
90 7 alavrent
<span title="Impersonal / expletive subject"><tt>SjImp</tt></span>,
91 7 alavrent
<span title="Personal subject"><tt>SjPer</tt></span>,
92 7 alavrent
<span title="Adjunct"><tt>Circ</tt></span>,
93 7 alavrent
<span title="Negative particle (e.g. pas, mie)"><tt>NgPrt</tt></span>,
94 7 alavrent
<span title="Negative"><tt>Ng</tt></span>,
95 7 alavrent
<span title="Apostrophe (vocative)"><tt>Apst</tt></span>,
96 7 alavrent
<span title="Inserted clause"><tt>Insrt</tt></span>,
97 7 alavrent
<span title="Interjection"><tt>Intj</tt></span>.</p>
98 7 alavrent
99 7 alavrent
<p>The head of each sentence (a finite verb) is the daughter of a <strong>maximal structure</strong> (<tt>cat = <span title="Sentence">Snt</span></tt>).</p>
100 7 alavrent
101 7 alavrent
<p>Relating words such a prepositions, conjunctions and subordinated conjunctions (<span title="Non-coordinating relator"><tt>RelNC</tt></span>,
102 7 alavrent
<span title="Coordinating relator"><tt>RelC</tt></span>) are daughters of a structure node: structure >R relator.</p>
103 7 alavrent
104 7 alavrent
<p>Coordinated structures are linked to a <strong>group</strong> node by a secondary arc, labelled <tt>coord</tt>: group >~coord structure.</p>
105 7 alavrent
106 7 alavrent
<h3>Terminal nodes</h3>
107 7 alavrent
108 7 alavrent
<p><strong>Words</strong> are terminal nodes. Each terminal node has a <tt>word</tt> property, containing its lexical form, and a <tt>pos</tt> property, containing its part-of-speech (Cattex–TreeTagger).</p>
109 7 alavrent
110 7 alavrent
<h2>Sample queries</h2>
111 7 alavrent
<p>
112 7 alavrent
The following sample queries may be tested by copying and pasting into the query panel.
113 7 alavrent
</p>
114 7 alavrent
<p>Find all main clause verbs:<br/>
115 7 alavrent
<tt>[cat = "Snt"] >M #vfin:[cat = "VFin"]</tt></p>
116 7 alavrent
117 7 alavrent
<p>Find all structures introduced by a preposition:<br/>
118 7 alavrent
<tt>#n >R #relnc:[cat = "RelNC"]<br/>
119 7 alavrent
&amp; #relnc >L [pos = /PRE.*/]</tt><br/>
120 7 alavrent
</p>
121 7 alavrent
122 7 alavrent
<p>Find all post-verbal NP subjects:<br/>
123 7 alavrent
<tt>#verb:[cat = "VFin"] >D #suj:[cat = "SjPer"]<br/>
124 7 alavrent
&amp; #suj >M [cat = "Nom"]<br/>
125 7 alavrent
&amp; #suj >@l #sword<br/>
126 7 alavrent
&amp; #verb >L #vword<br/>
127 7 alavrent
&amp; #vword .* #sword</tt></p>
128 7 alavrent
129 7 alavrent
<p>Find indefinite subjects introduced by <q>qui</q>:<br/>
130 7 alavrent
<tt>[cat = "VFin"] >D #suj:[cat = "SjPer"]<br/>
131 7 alavrent
&amp; #suj >R #relnc:[cat = "RelNC"]<br/>
132 7 alavrent
&amp; ( #relnc >L [word = /[QqKk]u?i/]<br/>
133 7 alavrent
| #relnc >~dupl [word = /[QqKk]u?i/] )</tt><br/></p>
134 7 alavrent
135 7 alavrent
<p>Find sentences with coordinated subjects:<br/>
136 7 alavrent
<tt>#coo:[cat = "Coo"] >~coord #sj1:[cat = "SjPer"]<br/>
137 7 alavrent
&amp; #coo >~coord #sj2:[cat = "SjPer"]<br/>
138 7 alavrent
&amp; #sj1 $ #sj2</tt></p>
139 7 alavrent
140 7 alavrent
<p>Find sentences with possible <q>gapping</q> of the finite verb (i.e. coordination of subject–predicate pairs):<br/>
141 7 alavrent
<tt>#gpcoo1:[cat = "GpCoo"] >~coord #suj1:[cat = "SjPer"]<br/>
142 7 alavrent
&amp; #gpcoo1 $.* #gpcoo2:[cat = "GpCoo"]<br/>
143 7 alavrent
&amp; #gpcoo2 >~coord #suj2:[cat = "SjPer"]<br/>
144 7 alavrent
&amp; #gpcoo1 >~coord #pred1:[cat = /Cmpl|Obj|AtSj/]<br/>
145 7 alavrent
&amp; #gpcoo2 >~coord #pred2:[cat = /Cmpl|Obj|AtSj/]<br/>
146 7 alavrent
</p>
147 7 alavrent
148 7 alavrent
<h1> Useful links</h1>
149 7 alavrent
<p>
150 7 alavrent
<ul>
151 7 alavrent
<li><a href = "https://listes.cru.fr/wiki/srcmf/index">SRCMF wiki</a></li>
152 7 alavrent
<li><a href = "https://textometrie.svn.sourceforge.net/svnroot/textometrie/trunk/doc/Tutoriel%20TXM%20pour%20la%20BFM%20V0.9_Web.odt">TXM tutorial (FR)</a> </li>
153 7 alavrent
<li><a href = "http://www.ims.uni-stuttgart.de/projekte/TIGER/TIGERSearch/oldindex.shtml">TIGERSearch project website</a></li>
154 7 alavrent
<li><a href = "http://bfm.ens-lyon.fr/">BFM project website</a></li>
155 7 alavrent
<li><a href = "http://textometrie.ens-lyon.fr/?lang=en">TXM project website</a></li>
156 7 alavrent
</ul>
157 7 alavrent
</p>
158 7 alavrent
</div>
159 7 alavrent
</body>
160 7 alavrent
</html>