Changes between Version 5 and Version 6 of mpdl2.0-design


Ignore:
Timestamp:
Sep 8, 2011, 12:03:10 PM (13 years ago)
Author:
jwillenborg
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • mpdl2.0-design

    v5 v6  
    2828        * unstructured text
    2929        * XML fragment/document
    30     * language
    31       * ISO 639-3 specifier
    32   * Response output:
    33     * word tokens
     30    * language (if available use xml:lang in XML document else this language value)
     31      * ISO 639-3 specifier
     32    * normalization (optional; default: without normalization)
     33      * "reg", "norm", "reg norm"
     34    * dictionary (optional; default: with dictionary)
     35      * "yes", "no"
     36    * stopElements (optional, default: empty)
     37      * elements which should not be analyzed and enriched (e.g. "lb")
     38    * outputFormat (optional; default: "xml")
     39      * "xml", "wordList"
     40  * Response output:
     41    * xml
     42      * document enriched by element <w>
     43        * e.g. <s><w lang="deu" reg="dies" norm="dies" forms="dies, dieser, dieses, diesen" lemmas="dieser" dictionaries="dwds">Dies</w> <w lang="deu" reg="ist" norm="ist" forms="bin, bist, ist, seid, sind, sein, war, warst, wart" lemmas="sein" dictionaries="dwds">ist</w> <w lang="deu" reg="ein" norm="ein" forms="ein, eines, einer" lemmas="ein" dictionaries="dwds">ein</w> <w lang="deu" reg="satz" norm="satz" forms="satz, sätze, satzes" lemmas="satz" dictionaries="dwds">Satz</w></s>
     44    * wordList
     45      * word tokens (separated by Blank)
    3446      * word tokens (XML)
    3547
     
    92104        * with external links
    93105
    94 * !DictionaryEnrichServlet
    95   * URL: /mpdl/enrichByDictionary
    96   * Request parameters:
    97     * srcUrl
    98       * source URL of XML fragment/document
    99     * language (optional, default: use xml:lang in XML document if found else "eng")
    100       * ISO 639-3 specifier
    101     * stopElements (Optional, default: empty)
    102       * elements which should not be analyzed and enriched (e.g. "lb")
    103   * Response output:
    104     * enriched XML fragment/document
    105       * words of document are extended by links to dictionaries
    106 
    107 === Other functions ===
     106=== Text functions ===
    108107
    109108* !NormalizeServlet
     
    125124      * text to be transcoded (string)
    126125    * srcEncoding
    127       * source encoding (e.g. betacode, buckwalter, unicode)
     126      * source encoding (e.g. "betacode", "buckwalter", "unicode")
    128127    * destEncoding
    129       * destination encoding (e.g. betacode, buckwalter, unicode)
     128      * destination encoding (e.g. "betacode", "buckwalter", "unicode")
    130129  * Response output:
    131130    * transcoded text
     
    149148    * xslUrl
    150149      * URL of XSL document
    151     * outputProperties
     150    * outputProperties (optional)
    152151      * list of output properties, e.g. "method=xhtml indent=no"
    153152  * Response output:
     
    159158    * srcUrl
    160159      * source URL of XML document
     160    * xslUrl
     161      * URL of XSL document
    161162  * Response output:
    162163    * rendered document (PDF)