Commit fc8aa7f4 authored by bguillaum's avatar bguillaum
Browse files

new organisation is running

git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/semagramme/grew_web@9044 7838e531-6607-4d57-9587-6c381814729c
parent fbccd320
<p><b>French Tree Bank</b></p>
<p><b>French Tree Bank</b></p>
<p><b>French Tree Bank (see: <a href="http://www.llf.cnrs.fr/fr/Gens/Abeille/French-Treebank-fr.php">webpage</a>)</b></p>
/* Style des listes */
/*#snippets h2, #results h2 {
font: 400 40px/1.5 Helvetica, Verdana, sans-serif;
body {
padding-top: 70px;
padding-bottom: 20px;
margin-left: 20px;
margin-right: 20px;
}
#snippets ul, #results ul {
list-style-type: none;
margin: 0;
margin-left: 20px;
padding: 0;
}*/
body {
padding-top: 70px;
padding-bottom: 20px;
margin-left: 20px;
margin-right: 20px;
}
#snippets ul, #results ul {
list-style-type: none;
margin: 0;
padding: 0;
}
#snippets li, #results li {
border-bottom: 1px solid #ccc;
}
#snippets li:last-child , #results li:last-child {
border: none;
}
#snippets li a, #results li a{
text-decoration: none;
color: #000;
display: block;
-webkit-transition: font-size 0.3s ease, background-color 0.3s ease;
-moz-transition: font-size 0.3s ease, background-color 0.3s ease;
-o-transition: font-size 0.3s ease, background-color 0.3s ease;
-ms-transition: font-size 0.3s ease, background-color 0.3s ease;
transition: font-size 0.3s ease, background-color 0.3s ease;
}
.grew-label {
font-size: 24px;
}
#snippets li a:hover, #results li a:hover {
background: #F5D76E;
}
/* Style du jumbotron */
/* Style de scenario */
/* Style de lesson */
/* Style de snippets */
/* Style de console */
#console{
padding-top: 0px;
}
/* Style de vision */
/* Style de results */
#vision{
display: none;
}
.displayed{
background-color:yellow;
}
/* Style de display-results */
#result-pic{
height: 100%;
}
#list-results{
max-height: 400px;
}
#display-results,#list-results{
overflow: auto;
/*display: none;*/
}
#display-results{
border-style: solid;
border-width: 1px;
border-color: #ccc;
}
#pattern-input{
width: 95%;
}
#custom-display{
display: none;
font-size: 15px;
}
#corpus-desc{
color: #003171;
}
.item{
cursor : pointer;
}
.CodeMirror{
border-style: solid;
border-width: 1px;
border-color: #ccc;
margin-bottom: 10px;
}
.nav-pills > li.active > a, .nav-pills > li.active > a:focus {
background-color: #C3C6C7;
color: #000;
}
.nav-pills > li > a:hover, .nav-pills > li.active > a:hover {
background-color: #989B9C;
color: #000;
}
.nav-pills > li > a, .nav-pills > li > a:focus {
color: #000;
}
#navbar-grew{
background-image: none;
background-color: #003171;
}
#jumbo-grew{
background-color: #ECF0F1;
}
#title-grew{
color: #ECF0F1;
}
#url-grew{
color: #ECF0F1;
margin-right: 20px;
}
div.btn-primary{
background-image: none;
background-color: #003171;
color: #ECF0F1;
}
\ No newline at end of file
}
#snippets li, #results li {
border-bottom: 1px solid #ccc;
}
#snippets li:last-child , #results li:last-child {
border: none;
}
#snippets li a, #results li a{
text-decoration: none;
color: #000;
display: block;
-webkit-transition: font-size 0.3s ease, background-color 0.3s ease;
-moz-transition: font-size 0.3s ease, background-color 0.3s ease;
-o-transition: font-size 0.3s ease, background-color 0.3s ease;
-ms-transition: font-size 0.3s ease, background-color 0.3s ease;
transition: font-size 0.3s ease, background-color 0.3s ease;
}
#snippets li a:hover, #results li a:hover {
background: #F5D76E;
}
.grew-label {
font-size: 24px;
}
/* Style du jumbotron */
/* Style de scenario */
/* Style de lesson */
/* Style de snippets */
/* Style de console */
#console{
padding-top: 0px;
}
/* Style de vision */
/* Style de results */
#vision{
display: none;
}
.displayed{
background-color:yellow;
}
/* Style de display-results */
#result-pic{
height: 100%;
}
#list-results{
max-height: 400px;
}
#display-results,#list-results{
overflow: auto;
/*display: none;*/
}
#display-results{
border-style: solid;
border-width: 1px;
border-color: #ccc;
}
#pattern-input{
width: 95%;
}
#custom-display{
display: none;
font-size: 15px;
}
.item{
cursor : pointer;
}
.CodeMirror{
border-style: solid;
border-width: 1px;
border-color: #ccc;
margin-bottom: 10px;
}
.nav-pills > li.active > a, .nav-pills > li.active > a:focus {
background-color: #C3C6C7;
color: #000;
}
.nav-pills > li > a:hover, .nav-pills > li.active > a:hover {
background-color: #989B9C;
color: #000;
}
.nav-pills > li > a, .nav-pills > li > a:focus {
color: #000;
}
#navbar-grew{
background-image: none;
background-color: #443171;
}
#right-navbar{
margin-bottom: 0px;
}
#jumbo-grew{
background-color: #ECF0F1;
}
#title-grew{
color: #ECF0F1;
}
#url-grew{
color: #ECF0F1;
margin-right: 20px;
}
<option value="ftb">FTB-SPMRL</option>
% Gender agreement mismatch Determiner/Noun
match {
N [cat=N, g=*];
D [cat=D, g=*];
N -[det]-> D;
N.g <> D.g;
}
% Number agreement mismatch Determiner/Noun
match {
N [cat=N, n=*];
D [cat=D, n=*];
N -[det]-> D;
N.n <> D.n;
}
% Search for verb "prendre" with an determiner-free object (light verb construction)
match {
V[lemma="prendre"];
OBJ[cat=N];
V -[obj]-> OBJ
}
without {
D[]; OBJ -[det]-> D
}
% Search for a given subcategorisation frame
% We search for a verb with at the same time a de_obj and an a_obj argument.
match {
V [cat=V]; A []; DE [];
V -[a_obj]-> A; V -[de_obj]-> DE;
}
% Coordination of unlikes
match {
N1 [cat]; % N1
N2 [cat];
N1 -[coord]-> C;
C -[dep.coord]-> N2;
N1.cat <> N2.cat;
}
without { N1 [cat=P]; N2 [cat="P+D"]; }
without { N2 [cat=P]; N1 [cat="P+D"]; }
% Search for verb without subject
match { V [cat=V, m <> inf|imp|part] }
without { V -[suj]-> * }
without { V [lemma="il_y_a"|"voici"|"voilà" ] }
without { * -[aux.tps|aux.pass|aux.caus|dep.coord]-> V }
<div class="navbar" id="right-navbar">
<div class="navbar-inner">
<ul class="nav nav-pills">
<li class="active"><a class="grew-label" href="#step1" data-toggle="tab">Snippets</a></li>
<li> <a class="grew-label" href="#step2" data-toggle="tab">Examples</a></li>
</ul>
</div>
</div>
<div class="tab-content" id="snippets">
<div class="tab-pane active" id="step1">
<ul>
<li><a href="#" snippet-file="snippets/search_phon.pat" class="inter">Search for a form</a></li>
<li><a href="#" snippet-file="snippets/search_lemma.pat" class="inter">Search for a lemma</a></li>
<li><a href="#" snippet-file="snippets/search_cat.pat" class="inter">Search for a grammatical category</a></li>
<li><a href="#" snippet-file="snippets/search_rel.pat" class="inter">Search for a dependency relation</a></li>
<li><a href="#" snippet-file="snippets/mixed.pat" class="inter">Search for both relations and categories</a></li>
<li><a href="#" snippet-file="snippets/negation.pat" class="inter">Filter with NAP (Negative Application Patterns)</a></li>
</ul>
</div>
<div class="tab-pane" id="step2">
<ul>
<li><a href="#" snippet-file="examples/verb_no_subj.pat" class="inter">Search for verbs without subject</a></li>
<li><a href="#" snippet-file="examples/prendre.pat" class="inter">Contruction with the light verb "prendre"</a></li>
<li><a href="#" snippet-file="examples/unlikes.pat" class="inter">Coordination of unlikes</a></li>
<li><a href="#" snippet-file="examples/subcat.pat" class="inter">Search for a given subcat frame</a></li>
<li><a href="#" snippet-file="examples/n_agreement.pat" class="inter">Check for number agreement</a></li>
<li><a href="#" snippet-file="examples/g_agreement.pat" class="inter">Check for gender agreement</a></li>
</ul>
</div>
</div>
\ No newline at end of file
% Search for both a category and a relation (for instance, a preposition used as a determiner)
match {
PREP [cat=P];
X -[det]-> PREP;
}
\ No newline at end of file
% For instance, search for a coordination lexical unit which is not the dependent of a "coord" relation
match {
CC [cat=C, s=c]
}
without {
X -[coord|root]-> CC;
}
% Search for a lexical unit of a given grammatical category
% Available categories: V, N, C, CL, P, I, PONCT, A, ADV, PRO, D, ET, P+D, P+PRO, PREF
match { N [cat="P+PRO"] }
% Search for a given lemma, for instancer "écouter"
match { N [lemma="écouter"] }
% Search for a given lexical unit, for instance: "était"
match { N [phon="était"] }
% Search for causative auxialiaries ([aux.caus])
match {
GOV -[aux.caus]-> DEP
}
......@@ -37,12 +37,12 @@
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<span class="navbar-brand" id="title-grew">Grew-web</span>
<ul class="nav navbar-nav">
<li id="top-ud" > <a class="navbar-brand" style="margin-left: 0pt;" id="select-ud" href="#">Universal Dependencies</a></li>
<li id="top-seq"> <a class="navbar-brand" style="margin-left: 0pt;" id="select-seq" href="#">Sequoia</a></li>
<li id="top-ftb" class="active"> <a class="navbar-brand" style="margin-left: 0pt;" id="select-ftb" href="#">French TreeBank</a></li>
<li id="top-ud"> <a class="navbar-brand" style="margin-left: 0pt;" id="select-ud" href="#">Universal Dependencies</a></li>
<li id="top-seq"> <a class="navbar-brand" style="margin-left: 0pt;" id="select-seq" href="#">Sequoia</a></li>
<li id="top-ftb" style="display: none;"> <a class="navbar-brand" style="margin-left: 0pt;" id="select-ftb" href="#">French TreeBank</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li id="top-tuto"> <a class="navbar-brand" style="margin-left: 0pt;" id="url-grew" href="http://grew.loria.fr">Tutorial</a></li>
<li id="top-tuto"> <a class="navbar-brand" style="margin-left: 0pt;" id="select-tuto" href="#">Tutorial</a></li>
<li> <a class="navbar-brand" style="margin-left: 0pt;" id="url-grew" href="http://grew.loria.fr">Grew website</a></li>
</ul>
</div>
......@@ -75,7 +75,7 @@
<!-- Upper-right part: navbar Snippets/Examples -->
<div class="col-md-4">
<div class="container">
<span id="right-navbar"></span> <!-- Dynamically loaded code, depending of the corpus -->
<span id="right-pane"></span> <!-- Dynamically loaded code, depending of the corpus -->
</div>
</div>
......@@ -99,6 +99,9 @@
<ul id="list-results"></ul>
</div>
</div>
<div id="display-sentence" style="display: none;">
<h4 id="sentence-txt"></h4>
</div>
<div class="col-md-9" id="display-results">
<object id="result-pic" type="image/svg+xml" class="logo"></object>
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment