Subversion Repositories wimsdev

Rev

Rev 7189 | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. !set style=en/minimal
  2.  
  3. <h2 class="wimscenter">The <span class="tt">minimal</span> style of symtext</h2>
  4. <p>
  5. This is the style that contains only the minimal set of identifications.
  6. It is especially useful for linguistic applications. Called without option,
  7. it detects any difference between the words. Only multiple spaces are
  8. compacted. But one can use options to do some identifications (upper- and
  9. lower-cases, letters with or without accent, etc.).
  10. </p>
  11. <p>
  12. No dictionary is defined for this style for the time being.
  13. </p>
  14.  
  15. !set n=!recordcnt symtext/$style/macros.help
  16. !if $n>0
  17.  
  18. Definitions of positional macros: (recall that to replace a word
  19. (a, b, c, etc.) by a group of several words, one has to enclose the latter
  20. by a pair of brackets.)
  21.  
  22. !readproc tabletheme
  23.  
  24. $table_header
  25. $table_hdtr<th>Syntax</th><th>Recognition</th></tr>
  26.  
  27. !for i=1 to $n
  28.  !set l=!record $i of symtext/$style/macros.help
  29.  !distribute lines $l into s1, s2
  30.  $table_tr<td class="tt">$s1</td>
  31.  <td>$s2</td>
  32.  </tr>
  33. !next i
  34. $table_end
  35.  
  36. !endif
  37.