A dart library for reading mdict files. support MDX/MDD file formats.
Import the package:
import 'package:mdict_reader/mdict_reader.dart';
And call some code:
var mdict = MdictReader('example.mdx');
var record = mdict.query('hello');
stdout.write(record);
Read defintion from MDX file:
dart bin/main.dart defintion [mdx_file] [query_word]
Parse sounds URLs from MDX file:
dart bin/main.dart sounds [mdx_file] [query_word]
Read data from MDD file (directly output binary to stdout):
dart bin/main.dart read [mdd_file] [sound_url]
This project was initially converted from mdict analysis.
The MIT License, see LICENSE.