Skip to content

kostaspt/go-datamuse

Repository files navigation

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

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

Example

package main

import "github.com/kostaspt/go-datamuse/v2"

func main() {
	ml, _ := datamuse.New().Words().MeansLike("ringing in the ears").Get()
	// [{Word:tinnitus Score:51691 SyllablesCount:0 Tags:[syn n]} ...]
}

Check more examples.