项目作者: ideahitme

项目描述 :
Simple German word definition provider
高级语言: Go
项目地址: git://github.com/ideahitme/define.git
创建时间: 2017-03-14T22:37:02Z
项目社区:https://github.com/ideahitme/define

开源协议:MIT License

下载


Define

Very simple library to translate word from german to english. Will print general information - speech part and meanings. Nothing fancy for now.

PRs are welcome.

Usage

If you have go installed:

go get -u github.com/ideahitme/define

Use:

  1. define <german-word>

For example:

  1. define sprechen
  2. //Output
  3. Definition: 1
  4. Sprechen: noun neutral
  5. speech,speaking
  6. ===================
  7. Definition: 2
  8. sprechen: verb
  9. to talk,to speak,to converse,to put up
  10. ===================

Planning to add binaries prebuilt for Mac and Linux in the release page

Contribute

Contribution is especially needed for:

  1. adding more elaborated and smarter outputs
  2. adding more sources (for now only bab.la)

License

The MIT License (MIT)

Copyright (c) 2016 Yerken Tussupbekov

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.