Sha256: e82106229c562a11d06bc03d91f15b97c92dda40c0c5170d2aa39c0ffeb6bd28
Contents?: true
Size: 819 Bytes
Versions: 2
Compression:
Stored size: 819 Bytes
Contents
Zidian ====== Zidian is a simple Chinese-English dictionary written in ruby. It only works under Unix systems, as it uses specific commands (sed, grep, less), at least for now. Install --------- gem install zidian Examples of use -------------- Zidian.find(237) # returns the Word from the 237 id (line number in the file) Zidian.find("culture") # returns all the words that contain "culture" Zidian.find("文") # returns all the words that contain "文" Zidian.find([653,34]) # returns the 2 words corresponding to the given ids Zidian.find("wei2 cheng2") # returns the words corresponding to the given pinyin with tones Zidian.find("wei cheng") # returns the words corresponding to the given pinyin without tones Author: Bastien Vaucher Version: 0.1.1 Licence: MIT
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
zidian-0.3.0 | README.mkd |
zidian-0.2.0 | README.mkd |