Changes between Version 15 and Version 16 of mpdl2.0-design
- Timestamp:
- Oct 13, 2011, 12:07:59 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
mpdl2.0-design
v15 v16 9 9 10 10 == XML technology == 11 12 See the development state [http://mpdl-test.mpiwg-berlin.mpg.de:8080/mpiwg-mpdl-xml-web/ here] (test server which is sometimes down). 11 13 12 14 The XML technology web archive ""mpiwg-mpdl-xml-web.war"" consists of: … … 24 26 Following HTTP servlets are available: 25 27 26 See the development state [http://mpdl-test.mpiwg-berlin.mpg.de:8080/mpiwg-mpdl-xml-web/ here] (test server which is sometimes down)27 28 28 === XSL transformation === 29 29 30 30 * Url: /mpiwg-mpdl-xml-web/transform/Transform 31 * Request parameters :32 * srcUrl 33 * source URL of XMLdocument34 * xslUrl 35 * URL of XSLdocument31 * Request parameters 32 * srcUrl (required) 33 * url of the Xml source document 34 * xslUrl (required) 35 * url of the Xsl document which does the transformation of the Xml document 36 36 * parameters (optional) 37 * list of parameters, e.g. "yourParam1=val1 yourParam2=val2" 37 * parameters separated with blanks (e.g. "yourParam1=yourValue1 yourParam2=yourValue2") 38 * default: no parameters 38 39 * outputProperties (optional) 39 * list of output properties, e.g. "method=xhtml indent=no" 40 * Response output: 41 * transformed document (HTML, XML, etc.) 40 * output properties separated with blanks (e.g. "encoding=utf-8 indent=yes") 41 * "method=xhtml" 42 * "indent=yes" 43 * "media-type=text/html" 44 * "encoding=utf-8" 45 * default: "method=xml indent=yes media-type=text/xml encoding=utf-8" 46 * Response output 47 * transformed Xml document 42 48 43 49 * Url: /mpiwg-mpdl-xml-web/transform/GetFragment … … 54 60 * second milestone position, e.g. 2 55 61 * Response output: 56 * XML fragment 62 * XML fragment between the two milestone elements 57 63 58 64 === PDF rendering === … … 65 71 * URL of XSL document 66 72 * parameters (optional) 67 * list of parameters, e.g. "yourParam1= val1 yourParam2=val2"73 * list of parameters, e.g. "yourParam1=yourValue2 yourParam2=yourValue2" 68 74 * Response output: 69 75 * rendered document (PDF) … … 90 96 91 97 == Language technology == 98 99 See the development state [http://mpdl-test.mpiwg-berlin.mpg.de:8080/mpiwg-mpdl-lt-web/ here] (test server which is sometimes down). 92 100 93 101 The language technology web archive ""mpiwg-mpdl-lt-web.war"" consists of: … … 106 114 Following HTTP servlets are available: 107 115 108 See the development state [http://mpdl-test.mpiwg-berlin.mpg.de:8080/mpiwg-mpdl-lt-web/ here] (test server which is sometimes down)109 110 116 === Morphology === 111 117 … … 125 131 * elements which should not be analyzed and enriched (e.g. "lb") 126 132 * outputFormat (optional; default: "xml") 127 * "xml", " wordList"133 * "xml", "string" 128 134 * Response output: 129 135 * xml … … 136 142 * Url: /mpiwg-mpdl-lt-web/lt/GetLemmas 137 143 * Request parameters: 138 * forms 139 * one word form (string) 140 * list of word forms (XML) 141 * language 144 * query (required) 145 * one form or lemma (e.g. "revolution") or 146 * blank separated list of forms or lemmas (e.g. "revolution equality brotherliness") 147 * inputType (optional) 148 * "form" 149 * "lemma" 150 * default: "form" 151 * language (optional) 142 152 * ISO 639-3 specifier 143 * normalization (optional; default: without normalization) 144 * "reg", "norm", "reg norm" 145 * Response output: 146 * lemmas 147 * one lemma 148 * list of lemmas (XML) 153 * default: "eng" 154 * outputType (optional) 155 * "compact" 156 * "full" 157 * default: "compact" 158 * outputFormat (optional) 159 * "html" 160 * "xml" 161 * "string" (lemma names separated by a blank) 162 * default: "xml" 163 * normalization (optional) 164 * "none" 165 * "norm" 166 * default: "norm" 167 * Response output: 168 * dependent of outputFormat and outputType: lemma entries in Xml or Html or string format 149 169 150 170 * Url: /mpiwg-mpdl-lt-web/lt/GetForms 151 171 * Request parameters: 152 * lemmas153 * one lemma ( string)154 * list of lemmas (XML)155 * language 172 * query (required) 173 * one lemma (e.g. "revolution") or 174 * blank separated list of forms (e.g. "revolution equality brotherliness") 175 * language (optional) 156 176 * ISO 639-3 specifier 157 * normalization (optional; default: without normalization) 158 * "reg", "norm", "reg norm" 159 * Response output: 160 * forms 161 * list forms (XML) 177 * default: "eng" 178 * outputType (optional) 179 * "compact" 180 * "full" 181 * default: "compact" 182 * outputFormat (optional) 183 * "html" 184 * "xml" 185 * "string" (lemma names separated by a blank) 186 * default: "xml" 187 * normalization (optional) 188 * "none" 189 * "norm" 190 * default: "norm" 191 * Response output: 192 * dependent of outputFormat and outputType: form entries in Xml or Html or string format 162 193 163 194 === Dictionary === 164 195 165 196 * Url: /mpiwg-mpdl-lt-web/lt/GetDictionaryEntries 166 * Request parameters :167 * query ( forms or lemmas or range; optional; default: "a*")168 * one form or lemma (e.g. "revolution") 169 * list of forms or lemmas (e.g. "revolution equality brotherliness")197 * Request parameters 198 * query (required) 199 * one form or lemma (e.g. "revolution") or 200 * blank separated list of forms or lemmas (e.g. "revolution equality brotherliness") 170 201 * range 171 202 * entries beginning with, e.g. "a*" 172 203 * entries from position x to y: e.g. "200-300" 173 * inputType (optional; default: "form") 174 * "form", "lemma" 175 * language (optional, default: eng) 204 * inputType (optional) 205 * "form" 206 * "lemma" 207 * default: "form" 208 * language (optional) 176 209 * ISO 639-3 specifier 177 * dictionary (optional; default: all dictionaries for the language) 210 * default: "eng" 211 * dictionary (optional) 178 212 * dictionary name, e.g. "webster" 179 * outputType (optional, default: compact) 180 * "full", "compact" 181 * outputFormat (optional, default: xml) 182 * "xml", "html" 183 * normalization (optional; default: "norm") 184 * "none", "reg", "norm", "reg norm" 185 * Response output: 186 * dictionary entries 187 * dictionary entries (in XML/HTML format) 188 * if result is big then it is devided into result pages 189 * with external links 213 * default: "all" (all dictionaries for the specified language) 214 * outputType (optional) 215 * "compact" 216 * "full" 217 * default: "compact" 218 * outputFormat (optional) 219 * "html" 220 * "xml" 221 * default: "xml" 222 * normalization (optional) 223 * "none" 224 * "norm" 225 * default: "norm" 226 * Response output 227 * dependent of outputFormat and outputType: morphology, dictionary and Wikipedia entries in Xml or Html format 190 228 191 229 === Text functions ===