Commit Graph

11 Commits

Author SHA1 Message Date
Roland Hieber
89ac6cbcd6 implement new XML API, using XML::Simple
Unfortunately, we cannot yet parse the additional hints (plural forms,
cases, parts of speech, etc., everything inside <repr> tags) because the
XML::Simple API does not retain the correct ordering of CDATA content
mixed with subtags... :-/

This also removes the options -SpellTolerance, -Morphology, and
-CharTolerance, which are no longer supported by the new API (as long as
I can see.)

Note that although the XML contains UTF-8 data, XML::Simple decodes
it to latin1, so we have to re-encode it to get good results.
2017-03-11 06:42:25 +01:00
Roland Hieber
de4031dd70 refactor HTTP parsing
We don't need the headers at all afterwards, but when parsing XML, they
are in the way.

The "found no matches" error is no longer needed in the future.
2017-03-11 05:52:51 +01:00
Thomas von Dein
60c0a65702 fix typos 2016-10-24 11:31:38 +02:00
TLINDEN
b7a77c4b72 catch no $term 2016-10-09 11:17:14 +02:00
TLINDEN
173d8061d7 doc-fix 2016-10-09 10:37:21 +02:00
TLINDEN
c2bdb57c2f fix column calc (a little) 2016-10-08 21:09:16 +02:00
TLINDEN
a865f75f0e fix lang spec and parsing 2016-10-08 12:36:25 +02:00
TLINDEN
50ac4d65ed fix version 2016-01-27 00:11:53 +01:00
TLINDEN
cf76532303 fixed http404, updated copylefts 2016-01-27 00:09:16 +01:00
TLINDEN
ca33f77d0f 1.39 2016-01-26 23:53:42 +01:00
git@daemon.de
15d151f58a after more than 10 years finally move the code to github :) 2014-02-06 09:23:53 +01:00