hanifhefaz/elm-word2dict-matcher/4.0.0

NOTE: the latest version is 5.1.1

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 : Tokens -> Histogram

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.