Giter Club home page Giter Club logo

golden2recite's Introduction

Golden2Recite

Golden2Recite is a tool for convert Goldendict history to 生词本背单词 acceptable format.

This project is mainly for golang practising.

Notice that this tool is using stardict format to lookup explanation.

Usage

NAME:
   golden2recite - Convert the Goldendict history to Reciteword format

USAGE:
   golden2recite [global options] command [command options] [arguments...]

VERSION:
   0.0.0

COMMANDS:
   help, h	Shows a list of commands or help for one command
   
GLOBAL OPTIONS:
   --help, -h		show help
   --version, -v	print the version

The first argument is your new word which is about to recite,the second argument is your startdict files.A stardict-oxford-gb dictionary is already provided as a recomendation.

Usage Example

$ ./Golden2Recite ./new_words_exp.txt ./stardict-oxford-gb-formated/oxford-gb-formated.dict

This will create two new files with prefix "recitable_" as importable for 生词本背单词 and "unchecked_" which can't find its explaination.

Dependency

http://github.com/codegangsta/cli —— Cli
https://github.com/chuangbo/jianbing-dictionary-dns/blob/master/golang/jianbing-dns/stardict/stardict.go —— stardict api(modified)

Install

  1. Make sure you have set GOPATH
  2. go get -u github.com/wicast/Golden2Recite

Build

This project use gvp and gpm as dependency manager.

gpm-local plugin is required to manage subpackages.

Golang Compiler is required.

  1. source gvp in —— Set local GOPATH
  2. gpm install —— Install Dependency into GOPATH
  3. gpm local name github.com/wicast/Golden2Recite —— Set subpackages.
  4. go install —— Build project,the executable can be found in "bin" folder.

If you need cross complier for other platform check this article out.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.