2014-02-06 09:23:53 +01:00
|
|
|
#
|
2017-09-21 07:29:37 +02:00
|
|
|
# made for WWW::Dict::Leo::Org 2.01 and up
|
2014-02-06 09:23:53 +01:00
|
|
|
|
|
|
|
|
use ExtUtils::MakeMaker;
|
|
|
|
|
|
|
|
|
|
WriteMakefile(
|
|
|
|
|
'NAME' => 'WWW::Dict::Leo::Org',
|
|
|
|
|
'VERSION_FROM' => 'Org.pm',
|
|
|
|
|
'EXE_FILES' => [ 'leo' ],
|
|
|
|
|
'clean' => { FILES => '*~' },
|
|
|
|
|
'EXCLUDE_EXT' => [ qw(README) ],
|
|
|
|
|
'PREREQ_PM' => { 'Carp::Heavy' => 0,
|
2017-09-21 07:29:37 +02:00
|
|
|
'IO::Socket::SSL' => 0,
|
2014-02-06 09:23:53 +01:00
|
|
|
'MIME::Base64' => 0,
|
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:10:24 +01:00
|
|
|
'XML::Simple' => 0
|
|
|
|
|
}
|
2014-02-06 09:23:53 +01:00
|
|
|
);
|
|
|
|
|
|