close Warning: Can't synchronize with repository "(default)" (/usr/local/svn/deb2-client does not appear to be a Subversion repository.). Look in the Trac log for more information.

Changes between Version 31 and Version 32 of WordNetApi


Ignore:
Timestamp:
Oct 22, 2009, 2:44:04 PM (15 years ago)
Author:
Adam
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WordNetApi

    v31 v32  
    6969== Query entry information ==
    7070
    71 '''Request:''' ''servername''/''dictionary_code''?action=runQuery&query=''entry_id''&outtype=''output_type''[&arg=''argument''][&nojson=1][&default=1][&expand_rels=1]
     71'''Request:''' ''servername''/''dictionary_code''?action=runQuery&query=''entry_id''&outtype=''output_type''[&arg=''argument''][&nojson=1][&default=1][&expand_rels=1][&reldics=''wordnet_list'']
    7272
    7373 entry_id::
     
    8181 * tree - array representation of tree, ''arg'' specifies tree direction - ILR for normal tree, RILR for reversed tree
    8282 * editor - hash representation of XML for editor tab
     83 * rels - searches in ''wordnet_list'' for all synsets that have ELR link to ''entry_id'' and link type 'EQ_Synonym', 'EQ_Near_Synonym', 'EQ_Has_Hyperonym', 'EQ_Has_Hyponym'. Returns array of hash representation.
     84
    8385 arg::
    8486  depends on output_type. For ''html'' optionally specifies other than default template. For ''tree'' specifies tree direction.
     
    8991 expand_rels::
    9092  optional argument for editor output type - with expand_rels=1 more details about ILR are included (definition, literals)
     93 wordnet_list::
     94  mandatory argument for rels output type - comma separated list of wordnet codes, define in which wordnets to search for synsets
    9195
    9296'''Response:''' by default JSON encoded, depends on output type
     
    176180
    177181'''Response:''' (JSON encoded) arrays "original" and "translated" with the list of synsets in source and target language (same structure as for "Querying dictionary")
     182