Commit eb126436 authored by Bruno Guillaume's avatar Bruno Guillaume
Browse files

Merge branch 'refs/heads/master' into whether

parents dcb70cc2 0fe616d5
{
"corpora": [{
"id": "pmb-3.0.0-sample_en_gold",
"kind": "json",
"directory": "/home/guillaum/resources/semantics/pmb",
"files": [
"p31/p31_d1601.json",
"p31/p31_d3411.json",
"p31/p31_d0821.json",
"p31/p31_d3281.json",
"p31/p31_d0951.json",
"p31/p31_d2901.json",
"p31/p31_d0711.json",
"p31/p31_d2101.json",
"p32/p32_d1361.json",
"p32/p32_d0931.json"
]
}]
}
\ No newline at end of file
......@@ -745,14 +745,17 @@
},
{
"id": "amr",
"name": "AMR",
"id": "semantics",
"name": "Semantics",
"default": "Little_Prince",
"corpora":
[
{ "id": "Little_Prince", "snippets": "amr" },
{ "id": "Bio_AMR_Corpus", "snippets": "amr" },
{ "id": "Spec_1.2.5", "snippets": "amr" }
{ "section" : "AMR" },
{ "id": "Little_Prince", "snippets": "amr" },
{ "id": "Bio_AMR_Corpus", "snippets": "amr" },
{ "id": "Spec_1.2.5", "snippets": "amr" },
{ "section" : "PMB" },
{ "id": "pmb-3.0.0-sample_en_gold", "snippets": "pmb" }
]
},
......
<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>
</ul>
</div>
</div>
<div class="tab-content" id="snippets">
<div class="tab-pane active" id="step1">
Patterns for the Parallel Meaning Bank
<ul>
<li><a href="#" snippet-file="snippets/form.pat" class="inter">Search for a given wordform</a></li>
<li><a href="#" snippet-file="snippets/agent.pat" class="inter">Search for a semantic relation</a></li>
<li><a href="#" snippet-file="snippets/same_box.pat" class="inter">Two related nodes in the same box</a></li>
<li><a href="#" snippet-file="snippets/diff_box.pat" class="inter">Two related nodes in different boxes</a></li>
</ul>
</div>
</div>
\ No newline at end of file
% Search for a given word form
pattern { M -[Agent]-> N }
% Search two relatred nodes `N1` and `N2`, in the different boxes `B1` and `B2`; clustered by relation label
pattern {
B1 -[REF]-> N1;
B2 -[REF]-> N2;
e: N1 -> N2;
}
% Search for a given word form
pattern { N [form="house"] }
\ No newline at end of file
% Search two relatred nodes `N1` and `N2`, in the same box `B`; clustered by relation label
pattern {
B -[REF]-> N1;
B -[REF]-> N2;
e: N1 -> N2;
}
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