~zorba-coders/zorba/bugs-912586-912593-912722

« back to all changes in this revision

Viewing changes to doc/zorba/ft_thesaurus.dox

  • Committer: Cezar Andrei
  • Date: 2012-03-28 15:42:12 UTC
  • mfrom: (10606.1.129 zorba)
  • Revision ID: cezar.lp@cezarandrei.com-20120328154212-jh2heq49xcqjppce
Merge from trunck and resolve ChangeLog conflict.

Show diffs side-by-side

added added

removed removed

Lines of Context:
90
90
 
91
91
In order to use thesauri,
92
92
you need to specify where they are to the Zorba engine
93
 
via one or more thesaurus \e mappings.
94
 
A \e mapping maps a symbolic URI to URI for an actual thesaurus.
 
93
via one or more thesaurus <i>mappings</i>.
 
94
A <i>mapping</i> maps a symbolic URI to URI for an actual thesaurus.
95
95
A mapping is of the form:
96
96
 
97
 
<i>from_uri</i><code>:=</code><b>[</b><i>implementation</i><code>|</code><b>]</b></i>to_uri</i>
 
97
<i>from_uri</i><code>:=</code><b>[</b><i>implementation</i><code>|</code><b>]</b><i>to_uri</i>
98
98
 
99
99
For example:
100
100
 
117
117
If the \e implementation is omitted,
118
118
it defaults to \c wordnet.
119
119
As a special-case,
120
 
the \e from_uri can be \c default or \c ##default
 
120
the \e from_uri can be \c default or 
 
121
\code 
 
122
##default
 
123
\endcode
121
124
to allow for specifying the default thesaurus
122
125
as was done for the first example on this page.
123
126