[{"name":"Documents","comment":"\n\n\n# Queries Data\n\n@docs data\n\n\n# Result Model\n\n@docs Result\n\n","unions":[],"aliases":[{"name":"Result","comment":" This model defines the query and the result.\n","args":[],"type":"{ result : String.String, query : String.String }"}],"values":[{"name":"data","comment":" Here you can define all your queries and results.\n","type":"List.List Documents.Result"}],"binops":[]},{"name":"WordSearcher","comment":"\n\n\n# Result\n\n@docs findRelevantDict\n\n\n# Words Dictionary\n\n@docs wordsDict\n\n\n# Sentence Histograms\n\n@docs sentenceHistograms\n\n\n# Tokenization\n\n@docs tokenize\n\n\n# StopWords\n\n@docs stopWords\n\n\n# ToHistogram\n\n@docs toHistogram\n\n","unions":[],"aliases":[],"values":[{"name":"findRelevantDict","comment":" Finds the sentences with the most occurances from a search string\nReturns the related result for the returned quesiton in the data.\n","type":"Dict.Dict String.String Basics.Int -> List.List Documents.Result -> Maybe.Maybe Documents.Result"},{"name":"sentenceHistograms","comment":" This will make a dictionary from data and do some tokenization as well.\n","type":"List.List WordSearcher.Sentence -> List.List WordSearcher.Histogram"},{"name":"stopWords","comment":" This will remove all stopWords from the data, which are mentioned here.\n","type":"WordSearcher.Tokens"},{"name":"toHistogram","comment":" This will convert sentences to words histograms.\n","type":"WordSearcher.Tokens -> WordSearcher.Histogram"},{"name":"tokenize","comment":" This will tokenize the words and remove symbols.\n","type":"WordSearcher.Sentence -> WordSearcher.Tokens"},{"name":"wordsDict","comment":" This will make a dictionary from a sentence\n","type":"WordSearcher.Tokens -> WordSearcher.Histogram"}],"binops":[]}]