hanifhefaz/elm-word2dict-matcher/2.0.0

NOTE: the latest version is 5.1.1

Unavailable. Nobody can download this version any more, with elm or with the Lamdera compiler: github.com/hanifhefaz/elm-word2dict-matcher exists but has no tag 2.0.0; Software Heritage has no tag 2.0.0 for it; no fork with the same repo name found; no cached copy. Use another version.

Details

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.