Last updated:
0 purchases
mdict reader
Mdict Reader #
A dart library for reading mdict files. support MDX/MDD file formats.
Tutorial #
Using the API #
Import the package:
import 'package:mdict_reader/mdict_reader.dart';
copied to clipboard
And call some code:
var mdict = MdictReader('example.mdx');
var record = mdict.query('hello');
stdout.write(record);
copied to clipboard
Using the command-line #
Read defintion from MDX file:
dart bin/main.dart defintion [mdx_file] [query_word]
copied to clipboard
Parse sounds URLs from MDX file:
dart bin/main.dart sounds [mdx_file] [query_word]
copied to clipboard
Read data from MDD file (directly output binary to stdout):
dart bin/main.dart read [mdd_file] [sound_url]
copied to clipboard
Misc #
Acknowledge #
This project was initially converted from mdict analysis.
License #
The MIT License, see LICENSE.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.