Changes between Version 2 and Version 3 of mpdl2.0-design
- Timestamp:
- Sep 5, 2011, 3:39:55 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
mpdl2.0-design
v2 v3 1 1 = MPDL 2.0 = 2 2 3 The MPDL release 2.0 is redesigned so that all important functions (language technology, XML functions) are usable as web applications independent from the eXist software - available as HTTP servlets and fully implemented in Java.3 The MPDL backend software release 2.0 is redesigned so that important functions (language technology, XML functions) are available as web applications independent from the eXist software - usable as HTTP servlets and fully implemented in Java. 4 4 5 5 == Language technology == … … 7 7 The language technology module consists of: 8 8 * language technology data (XML data files, Java Berkely DB's) 9 * morphology data ( ara, eng, fre, ger, gre, ita, lat, nld, zho)10 * dictionary data 9 * morphology data (Perseus, CELEX, Lexique with languages: ara, eng, fre, ger, gre, ita, lat, nld, zho) 10 * dictionary data (dictionaries: autenrieth, baretti, bonitz, cooper, florio, lewis-short, lidell-scott-jones, salmone, webster) 11 11 * Java source code 12 12 * used Java libraries … … 19 19 === Morphology === 20 20 21 * TokenizeServlet21 * !TokenizeServlet 22 22 * URL: /mpdl/tokenize 23 23 * Request parameters: … … 32 32 * word tokens (XML) 33 33 34 * LemmaServlet34 * !LemmaServlet 35 35 * URL: /mpdl/getLemmas 36 36 * Request parameters: … … 40 40 * language 41 41 * ISO 639-3 specifier 42 * normalization (optional; default: without normalization) 43 * "reg", "norm", "reg norm" 42 44 * Response output: 43 45 * lemmas … … 45 47 * list of lemmas (XML) 46 48 47 * FormServlet49 * !FormServlet 48 50 * URL: /mpdl/getForms 49 51 * Request parameters: … … 53 55 * language 54 56 * ISO 639-3 specifier 57 * normalization (optional; default: without normalization) 58 * "reg", "norm", "reg norm" 55 59 * Response output: 56 60 * forms … … 59 63 === Dictionary === 60 64 61 * WordServlet65 * !WordServlet 62 66 * URL: /mpdl/getDictionaryEntries 63 67 * Request parameters: 64 * forms 65 * one form (string) 66 * list of forms (XML) 67 * language 68 * forms or lemmas 69 * one form or lemma (string) 70 * list of forms or lemmas (XML) 71 * inputType (optional; default: "form") 72 * "form", "lemma" 73 * dictionary (optional; default: all dictionaries) 74 * dictionary name (e.g. "webster") 75 * language (optional, default: all languages) 68 76 * ISO 639-3 specifier 69 * type77 * outputType (optional) 70 78 * full, compact 79 * normalization (optional; default: without normalization) 80 * "reg", "norm", "reg norm" 71 81 * Response output: 72 82 * dictionary entries 73 83 * dictionary entries (XML) 74 84 75 * DictionaryEnrichServlet85 * !DictionaryEnrichServlet 76 86 * URL: /mpdl/enrichByDictionary 77 87 * Request parameters: 78 88 * srcUrl 79 89 * source URL of XML fragment/document 90 * language (optional, default: use xml:lang in XML document if found else "eng") 91 * ISO 639-3 specifier 92 * stopElements (Optional, default: empty) 93 * elements which should not be analyzed and enriched (e.g. "lb") 80 94 * Response output: 81 95 * enriched XML fragment/document … … 84 98 === Other functions === 85 99 86 * NormalizeServlet100 * !NormalizeServlet 87 101 * URL: /mpdl/normalize 88 102 * Request parameters: … … 96 110 * normalized XML fragment/document 97 111 98 * TranscodeServlet112 * !TranscodeServlet 99 113 * URL: /mpdl/transcode 100 114 * Request parameters: … … 121 135 === XPath/XQuery === 122 136 123 * TransformServlet137 * !TransformServlet 124 138 * URL: /mpdl/transform 125 139 * Request parameters: … … 131 145 * transformed document (HTML, XML, etc.) 132 146 133 * RenderServlet147 * !RenderServlet 134 148 * URL: /mpdl/render 135 149 * Request parameters: … … 139 153 * rendered document (PDF) 140 154 141 * XPathServlet155 * !XPathServlet 142 156 * URL: /mpdl/xpath 143 157 * Request parameters: … … 149 163 * XPath result for that document 150 164 151 * XQueryServlet165 * !XQueryServlet 152 166 * URL: /mpdl/xquery 153 167 * Request parameters: … … 159 173 * XQuery result for that document 160 174 161 * GetFragmentServlet175 * !GetFragmentServlet 162 176 * URL: /mpdl/getFragment 163 177 * Request parameters: