PHP Classes

dictionary.json

Recommend this page to a friend!

      Non-Word PHP Spell Checker  >  All threads  >  dictionary.json  >  (Un) Subscribe thread alerts  
Subject:dictionary.json
Summary:Can you provide us with a PHP Generator for the dictionary.json
Messages:4
Author:I. Gaffling
Date:2019-11-05 17:23:27
 

  1. dictionary.json   Reply   Report abuse  
Picture of I. Gaffling I. Gaffling - 2019-11-05 17:23:27
and also with an example dictionary.json file here?

Thanks a lot!

  2. Re: dictionary.json   Reply   Report abuse  
Picture of Ravindu Taveesha Ravindu Taveesha - 2019-11-06 01:40:31 - In reply to message 1 from I. Gaffling
Yeah i can give me sometime :)

  3. Re: dictionary.json   Reply   Report abuse  
Picture of I. Gaffling I. Gaffling - 2019-11-06 09:24:09 - In reply to message 2 from Ravindu Taveesha
a short example of the dictionary (only for one word) would be enough, so i can build the PHP Generator my self ;-)

  4. Re: dictionary.json   Reply   Report abuse  
Picture of Ravindu Taveesha Ravindu Taveesha - 2019-11-06 11:54:25 - In reply to message 3 from I. Gaffling
Dictionary contains three sub dictionaries,

1. Unigram: {“word”: “frequency”}
2. Bigram: “word”: {[“word”: “frequency”]}
3. Length: “length”: [“word1”, “word2”]

Sample format.
{"unigram": {"hello": 1, "there": 1, "how": 1, "are": 1, "you": 1, "doing": 1, "today": 1}, "length": {"5": ["hello", "there", "doing", "today"], "3": ["how", "are", "you"]}, "bigram": {"hello": {"there": 1}, "there": {"how": 1}, "how": {"are": 1}, "are": {"you": 1}, "you": {"doing": 1}, "doing": {"today": 1}}}