Commit 41f93b90 authored by delanoe's avatar delanoe

[HELP] Adding help message if myGraph is empty.

parent f94f2851
......@@ -19,6 +19,7 @@
<div class="container theme-showcase" role="main">
<h2>My Graphs </h2>
<ol>
{% if coocs %}
{% for cooc in coocs %}
<div id="graph_{{cooc.id}}">
<div class="row">
......@@ -146,6 +147,42 @@
</div>
{% endfor %}
{% else %}
<h3>
<span class="glyphicon glyphicon-flag" aria-hidden="true"></span>
You have not computed any graph already</h3>
<h4>
<span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span>
What is Graph ?
</h4>
<ul>
<li>Graph is a tool to explore and represent your corpus (which is a set of documents)</li>
<li>Nodes are multi-terms selected in your Map List</li>
<li>Edges between nodes represent its proximities in texts according to a specific distance.</li>
<ul>
<li>Conditional distance between the terms X and Y is the probability to have both terms X <b> and </b> Y in the same context of text.</li>
<li>Distributional distance between the terms X and Y is the probability to have same others terms in the same context as X <b>or</b> Y.</li>
</ul>
</ul>
<h4>
<span class="glyphicon glyphicon-hand-right" aria-hidden="true"></span>
How to compute a new graph ?
</h4>
<ol>
<li>Look at the menu</li>
<li>Click on Graphs</li>
<li>Choose a distance</li>
<li>Click on the distance or on MyGraph which is this page</li>
</ol>
<h4>
<span class="glyphicon glyphicon-ok-circle" aria-hidden="true"></span>
Do you want to test ?</h4>
</li>
<a href="/projects/{{project.id}}/corpora/{{ corpus.id }}/explorer?field1=ngrams&amp;field2=ngrams&amp;distance=conditional&amp;bridgeness=5">Compute a new graph with conditional distance!</a>
{% endif %}
</ul>
{% endblock %}
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