Subversion Repositories wimsdev

Rev

Rev 5947 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
20 reyssat 1
!set style=en/generic
2
 
5947 bpr 3
<h2 class="wimscenter">The <span class="tt">generic</span> style of symtext (default)</h2>
20 reyssat 4
 
7189 bpr 5
<p>This is the style applied by
20 reyssat 6
!href cmd=help&special_parm=symtext symtext
7
 where there is no style declaration in the options. The text comparison
8
does not take into account the differences in lower- and upper-cases, nor
9
letters with or without accent, nor singular or plural forms of common
10
nouns, nor the present singular third-person form of common verbs.
7189 bpr 11
</p>
20 reyssat 12
 
13
!set n=!recordcnt symtext/$style/macros.help
14
!if $n>0
15
 
16
Definitions of positional macros: (recall that to replace a word
17
(a, b, c, etc.) by a group of several words, one has to enclose the latter
18
by a pair of brackets.)
19
 
20
!readproc tabletheme
21
 
22
$table_header
23
$table_hdtr<th>Syntax</th><th>Recognition</th></tr>
24
 
25
!for i=1 to $n
26
 !set l=!record $i of symtext/$style/macros.help
27
 !distribute lines $l into s1, s2
7189 bpr 28
 $table_tr<td class="tt">$s1</td>
20 reyssat 29
 <td>$s2</td>
7189 bpr 30
 </tr>
20 reyssat 31
!next i
32
$table_end
33
 
34
!endif
35
<p>
36
 
37
antonym, synonym and type dictionaries are planned.
5947 bpr 38
</p>
20 reyssat 39
!exit
40
 
41
Il y a trois dictionnaires : anto (antonymes), syno (synonymes), type (type
5947 bpr 42
de mot). Ils peuvent s'utiliser par la règle <span class="tt">[Dic:...]</span> ou les
43
macros <span class="tt">[anto:...]</span>, <span class="tt">[syno:...]</span> ou <span class="tt">[type:...]</span>.
20 reyssat 44
<b>Attention</b> les dictionnaires ne sont pas encore complets.
45
<p>
7189 bpr 46
Pour le dictionnaire <span class="tt">type</span> (chaque mot peut avoir plusieurs types) :
47
</p>
48
<ul>
5947 bpr 49
<li><span class="tt">a</span> désigne adjectif.
50
</li><li><span class="tt">ad</span> désigne adverbe.
51
</li><li><span class="tt">inf</span> désigne verbe en forme infinitif.
52
</li><li><span class="tt">n</span> désigne nom.
53
</li><li><span class="tt">nf</span> désigne nom féminin.
54
</li><li><span class="tt">nm</span> désigne nom masculin.
55
</li><li><span class="tt">v</span> désigne verbe.
56
</li><li><span class="tt">va</span> désigne verbe auxiliaire.
57
</li><li><span class="tt">vi</span> désigne verbe intransitif.
58
</li><li><span class="tt">vt</span> désigne verbe transitif.
7189 bpr 59
</li></ul>