All Projects → jeka-kiselyov → mdict

jeka-kiselyov / mdict

Licence: MIT license
node.js mdict (*.mdx, *.mdd) file reader

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to mdict

Fd Dictionaries
hand-written dictionaries from the FreeDict project
Stars: ✭ 268 (+587.18%)
Mutual labels:  dictionaries, dictionary
Memorize
🚀 Japanese-English-Mongolian dictionary. It lets you find words, kanji and more quickly and easily
Stars: ✭ 72 (+84.62%)
Mutual labels:  dictionaries, dictionary
Yomichan
Japanese pop-up dictionary extension for Chrome and Firefox.
Stars: ✭ 464 (+1089.74%)
Mutual labels:  dictionaries, dictionary
oxford-dictionary
A nodeJS wrapper for using the oxforddictionary.com V2 REST API.
Stars: ✭ 28 (-28.21%)
Mutual labels:  dictionary, node-module
Emojipedia
MacOS X Dictionary containing Emoji and their meanings
Stars: ✭ 220 (+464.1%)
Mutual labels:  dictionaries, dictionary
MyGoldenDict
My personal goldendict-dictionaries collection
Stars: ✭ 13 (-66.67%)
Mutual labels:  dictionaries, dictionary
Google Ime Dictionary
日英変換・英語略語展開のための IME 追加辞書 📙 日本語から英語への和英変換や英語略語の展開を Google 日本語入力や ATOK などで可能にする IME 拡張辞書です
Stars: ✭ 30 (-23.08%)
Mutual labels:  dictionaries, dictionary
Mdict Java
Query library for Mdict (mdx or mdd) , a popular dictionary file format.
Stars: ✭ 106 (+171.79%)
Mutual labels:  dictionary, mdx
Emoji Ime Dictionary
日本語で絵文字入力をするための IME 追加辞書 📙 Google 日本語入力などで日本語から絵文字への変換を可能にする IME 拡張辞書です
Stars: ✭ 172 (+341.03%)
Mutual labels:  dictionaries, dictionary
Sdcv
Stars: ✭ 171 (+338.46%)
Mutual labels:  dictionaries, dictionary
medict
medict a cross platform dictionary application,support mdict (*.mdx/*.mdd) dictionary format
Stars: ✭ 154 (+294.87%)
Mutual labels:  dictionary, mdx
js-mdict
*.mdx/*.mdd interpreter js implements
Stars: ✭ 91 (+133.33%)
Mutual labels:  dictionary, mdx
Potchana
An open source worldwide languages dictionary plug-in for macOS. As features on major Thailand tech forums like MacThai.com
Stars: ✭ 10 (-74.36%)
Mutual labels:  dictionaries, dictionary
Dynamictranslator
Instant translation application for windows in .NET 🎪
Stars: ✭ 131 (+235.9%)
Mutual labels:  dictionaries, dictionary
wikit
Wikit - A universal lookup tool
Stars: ✭ 149 (+282.05%)
Mutual labels:  dictionary, mdx
Splain
small parser to create more interesting language/sentences
Stars: ✭ 15 (-61.54%)
Mutual labels:  dictionaries, dictionary
alfred-powerthesaurus
Search Powerthesaurus synonyms and antonyms from Alfred
Stars: ✭ 81 (+107.69%)
Mutual labels:  dictionary
node-sfml
A cross-platform SFML's Node.js binding.
Stars: ✭ 53 (+35.9%)
Mutual labels:  node-module
myPortfolio
This is a portfolio application built by using Next.js, ChakraUi, Typescript and Dev.to api.
Stars: ✭ 127 (+225.64%)
Mutual labels:  mdx
technical-glossary
📝 A collaborative technical glossary for key words and terms to help anyone learn and understand concepts and prepare for a career as a creative technologist! 😕 > 🤔 > 💡 > 😊 🎉 🚀
Stars: ✭ 18 (-53.85%)
Mutual labels:  dictionary

node mdict

This project is out of date and there're no plans to update it. Please use terasum/js-mdict for your projects.

node.js mdict (*.mdx, *.mdd) file reader

Rude refactoring of https://github.com/fengdh/mdict-js to make it work on nodejs by Jeka Kiselyov. Done enough to make it work for my project(with predefined dictionaries). It's tested with few .mdx files only, so there may be some bugs with other dictionaries. Please check and please feel free to submit pull requests with optimizations, unit tests etc.

Released under terms of the MIT License, as original library.

Installation:

npm install mdict

Usage:

var mdict = require('mdict');

mdict.dictionary('dictionary.mdx').then(function(dictionary){
		//// dictionary is loaded
		dictionary.search({
			phrase: 'دهخدا*', /// '*' and '?' supported
			max: 10	          /// maximum results
 		}).then(function(foundWords){
			console.log('Found words:');
			console.log(foundWords);      /// foundWords is array

			var word = ''+foundWords[0];
			console.log('Loading definitions for: '+word);
			return dictionary.lookup(word); /// typeof word === string
		}).then(function(definitions){
			console.log('definitions:');     /// definition is array
			console.log(definitions);
		});

	});

This is on GitHub.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].