hanifhefaz/elm-word2dict-matcher/3.0.0

NOTE: the latest version is 5.1.1

Rerouted (regenerated, verified). Same repository and tag, but GitHub now builds the zip with different bytes, so it no longer matches the SHA-1 package.elm-lang.org recorded. The Lamdera package server serves a copy recovered from https://github.com/hanifhefaz/elm-word2dict-matcher.

What we checked: Rebuilt with git archive from commit 2e780029414a of https://github.com/hanifhefaz/elm-word2dict-matcher (zip prefix hanifhefaz-elm-word2dict-matcher-2e78002/, America/Los_Angeles times): the zip is byte-identical to the one package.elm-lang.org recorded, SHA-1 c225803424af469426c9940889ba3eade4649ba7.

The Lamdera compiler uses this copy and prints a one-line notice saying so. elm itself fails to download this version.

Details · package.elm-lang.org's zip: https://github.com/hanifhefaz/elm-word2dict-matcher/zipball/3.0.0/

Word2DictMatcher

Result

Dict String Int
-> List (Dict String Int)
-> Maybe (Dict String Int)

Finds the sentences with the most occurances from a search string Returns all the words from the matched sentence as a dictionary, which you can later convert to Html msg.

Words Dictionary

wordsDict : List String -> Dict String Int

This will make a dictionary from a sentence

Sentence Histograms

sentenceHistograms : List Sentence -> List Histogram

This will make a dictionary from data and do some tokenization as well.