This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
English language dictionary derived from WordNet 3.0
version 2.0.1
license WORDNET
native-modules False
elm-version 0.18.0 <= v < 0.19.0
Tag 2.0.2
Committed At 2016-12-27 02:00:39 UTC
elm-lang/http 1.0.0 <= v < 2.0.0 1.0.0
elm-lang/core 5.0.0 <= v < 6.0.0 5.1.1

README

English Dictionary for Elm

Build Status

Based on WordNet 3.0 see WordNet License

English language dictionary. Check word membership and lookup definitions. To keep the download size of the package smaller, this elm package is backed by a serverless API.

Setup

To get the full functionality, deploy the API to your AWS account:

  • clone this repo
  • npm install
  • npm run build
  • npm run deploy

Take note of the API endpoint, which will look something like https://***.execute-api.us-east-1.amazonaws.com/dev.

You can also just run the API locally by doing npm start, in which case your endpoint becomes http://localhost:7631.

Configure the EnglishDictionary to use the serverless API by setting the endpoint:

type alias Model =
    { engDictConfig : EnglishDictionary.Config
    , otherStuff : String
    }


reset : Model
reset =
    Model
        (EnglishDictionary.Config "http://localhost:7631")
        "foobar"