Subversion Repositories wimsdev

Rev

Rev 5947 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
20 reyssat 1
!set style=en/generic
2
 
3
<center><h2>The <tt>generic</tt> style of symtext (default)</h2></center>
4
 
5
This is the style applied by
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.
11
<p>
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
28
 $table_tr<td><tt>$s1</tt></td>
29
 <td>$s2</td>
30
!next i
31
$table_end
32
 
33
!endif
34
<p>
35
 
36
antonym, synonym and type dictionaries are planned.
37
 
38
!exit
39
 
40
Il y a trois dictionnaires : anto (antonymes), syno (synonymes), type (type
41
de mot). Ils peuvent s'utiliser par la règle <tt>[Dic:...]</tt> ou les
42
macros <tt>[anto:...]</tt>, <tt>[syno:...]</tt> ou <tt>[type:...]</tt>.
43
<b>Attention</b> les dictionnaires ne sont pas encore complets.
44
<p>
45
 
46
Pour le dictionnaire <tt>type</tt> (chaque mot peut avoir plusieurs types) : <ul>
47
<li><tt>a</tt> désigne adjectif.
48
<li><tt>ad</tt> désigne adverbe.
49
<li><tt>inf</tt> désigne verbe en forme infinitif.
50
<li><tt>n</tt> désigne nom.
51
<li><tt>nf</tt> désigne nom féminin.
52
<li><tt>nm</tt> désigne nom masculin.
53
<li><tt>v</tt> désigne verbe.
54
<li><tt>va</tt> désigne verbe auxiliaire.
55
<li><tt>vi</tt> désigne verbe intransitif.
56
<li><tt>vt</tt> désigne verbe transitif.
57
</ul>