Jump to content

Word dictionary. API/my own database?


daydreamer

Recommended Posts

hello.

 

I am making a spelling game. It will take a random letter away from a word, and then display it to the user. the user then supply's their answer.

 

Does anyone know where I can download the dictionary in a mysql database, and how big itll be ( i need letters that are 4+ in length)?!

 

Or API/cURL access to a dictionary, but my bandwidth is limited.

 

Will my server have a dictionary accessible from PHP (I am using Linux).

 

Thanks.

Link to comment
https://forums.phpfreaks.com/topic/149559-word-dictionary-apimy-own-database/
Share on other sites

You can extract them from an aspell dictionary.

 

I've done that for you for English:

UTF-8: http://daniel0.net/dict-utf8-en.txt.bz2

ISO 8859-1 http://daniel0.net/dict-en.txt.bz2

 

You'll have to import it into a database and filter out the words you don't want yourself. There are 137,883 words in there.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.