improvements to cat / feature listing
[scpubgit/stemmatology.git] / stemmaweb / root / src / relatehelp.tt
1 [% PROCESS header.tt
2         pagetitle = "Stemmaweb - Relationship mapper"
3         applicationstyle = c.uri_for('/css/relationship.css')
4 %]
5
6 <div id="docco">
7  <h2>Text relationship mapper</h2>
8  <h3>An Interedition prototype interface</h3>
9  
10  <p>The relationship mapper is a tool born of the joint requirements of the <a href="http://byzantini.st/treeoftexts/">Tree of Texts</a> project at the KU Leuven, and the <a href="http://www.bibelwissenschaft.de/start/editionsprojekte/editio-critica-maior-ecm/">Editio Critica Maior</a> project at the Institute for New Testament Research (INTF), University of Münster.</p>
11  
12  <p>The premise of the tool is that, once a set of texts has been collated, there will be a need to chart the relationships between the variants—are they substantially the same word? Different words meaning the same thing? Is one an orthographic variant of the other that should be excluded from any eventual apparatus?</p>
13  
14  <h3>Making relationships between words</h3>
15  
16  <p>The tool itself is an interface for allowing these relationships to be declared.  The collation is presented as a variant graph running from left to right.  In a variant graph, each node is a reading, and each witness takes a single path through the readings from beginning to end.  When readings appear vertically aligned with each other, it is an indication that they are variant readings, occurring at the same point in the text.
17  
18  <p>In 'select' mode, when the nodes are green, you can navigate through the graph. Scrolling up or down will zoom in and out, respectively; dragging the graph will pan it in that direction.  Use this navigation to hone in on the part of the graph to be worked with.</p>
19  
20  <p> When you are ready to draw relationships, click the 'pencil' icon to enter edit mode.  Here, dragging a reading node onto another reading will establish a relationship link between them. Fill in the details of the relationship as follows:</p>
21 <p><em>Type</em> can be one of:</p>
22 <ul>
23         <li>Orthographic - these are interchangeable representations of the same reading</li>
24         <li>Spelling - these are variant spellings of the same reading</li>
25         <li>Grammatical - these readings are word forms with the same lemma</li>
26         <li>Lexical - these readings fulfill corresponding functions in the text. Use the "Annotation" field to elaborate.</li>
27         <li>Meaning - these readings have corresponding meanings (e.g. synonyms, antonyms). Use the "Annotation" field to elaborate.</li>
28         <li>Transposition - this pair actually represents the same reading, but its location varies between witnesses.
29 </ul>
30 <p><em>Scope</em> can be one of:</p>
31 <ul>
32         <li>Local - the relationship applies only at this point in the text</li>
33         <li>Global - the relationship applies throughout the text</li>
34 </ul>
35  
36  <p>The relationships are displayed as colored paths between readings; while in 'edit' mode, clicking on a relationship path will display the information associated with it, and give the user an option to delete it.  Deletion of a 'global' relationship will remove that relationship throughout the graph.  When you are ready to move elsewhere in the graph, click the 'hand' icon to return to select mode.<p>
37  
38 [% IF language != 'NONE' %]
39  <h3>Adding [% language %] morphological information to readings</h3>
40  
41  <p>It is also possible to add morphological information to the readings in this text (that is, lemma and morphological tagging).  Double click on any reading to bring up the morphology info.  The options therein are:</p>
42  
43  <ul>
44         <li>Indicate if the word is a nonsense word</li>
45         <li>Indicate if the word (whether sensical or not) cannot be grammatically correct here</li>
46         <li>Indicate the "normal" form of the word for lemmatization purposes.  Any readings linked to this one via 'spelling' or 'orthographic' links will appear when the entry text box is clicked.</li>
47         <li>Indicate the correct morphological form of this reading.  The shorthand syntax is:<br/>
48                 &lt;LEMMA&gt; // cat@&lt;CATEGORY&gt; (type@&lt;TYPE&gt; etc.)<br/>
49                 Each form must have at least a lemma and a category, and may have a number of additional features depending on the category (e.g. type, gender, number, case.) The possible options are as follows:
50                 <ul>
51 [% FOREACH stype IN tagset.structures -%]
52         [% IF stype.desc != 'use_features' -%]
53                         <li>Category [% stype.id -%] ([% stype.desc %])
54         [% END -%]
55 [% IF stype.use_features.size -%]
56  has features [% stype.use_features.join(', ') %]
57 [% END -%]
58                         </li>
59 [% END -%]
60                 </ul>
61                 <ul>
62 [% FOREACH ftype IN tagset.features.keys.sort -%]
63                         <li>Feature [% ftype %] can have values:
64                                 <ul>
65 [% FOREACH fval IN tagset.features.$ftype.values -%]
66                                         <li>[% fval.short %] =&gt; [% fval.long %]</li>
67 [% END -%]
68                                 </ul>
69                         </li>
70 [% END -%]
71                 </ul>
72         </li>
73   </ul>
74   
75   <p>If initial lemmatization has been performed on the text, a number of readings may appear in yellow rather than green; this means that there are multiple possible morphologies for the reading in question. Double click on the reading to select and save the correct morphology.</p>
76 [% END -%]
77 [% PROCESS footer.tt %]