项目作者: kostaspt

项目描述 :
Go library for Datamuse API
高级语言: Go
项目地址: git://github.com/kostaspt/go-datamuse.git
创建时间: 2018-09-03T06:03:39Z
项目社区:https://github.com/kostaspt/go-datamuse

开源协议:MIT License

下载


go-datamuse

GitHub Workflow Status
GitHub release (latest SemVer)
GitHub
Go Reference
Coveralls github
Go Report Card

A Go(lang) library for the Datamuse API.

Documentation: pkg.go.dev/github.com/kostaspt/go-datamuse

Installation

  1. $ go get -u github.com/kostaspt/go-datamuse/v2

Example

  1. package main
  2. import "github.com/kostaspt/go-datamuse/v2"
  3. func main() {
  4. ml, _ := datamuse.New().Words().MeansLike("ringing in the ears").Get()
  5. // [{Word:tinnitus Score:51691 SyllablesCount:0 Tags:[syn n]} ...]
  6. }

Check more examples.