PHP Classes

Define Word: Get word definition from remote dictionary server

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 574 All time: 5,354 This week: 146Up
Version License PHP version Categories
defineword 1.0GNU General Publi...4Networking, Text processing
Description 

Author

This class can be used to retrieve the definition of words from a remote dictionary server.

It uses the cURL library to make a word lookup request using the DICT protocol defined in RFC 2229.

The word definitions retrieved from the server are returned in an array. The number of definitions that is returned may be restricted to a given limit.

Picture of Dror Golan
Name: Dror Golan <contact>
Classes: 8 packages by
Country: Israel Israel
Innovation award
Innovation award
Nominee: 1x

Screenshots (2)  
  • Snapshort2
  • snapshot4
  Files folder image Files (7)  
File Role Description
Plain text file defineText.php Example Example - how to define few words within a text
Plain text file DefineWord.class.php Class main class
Plain text file example.php Example example of usage
Plain text file guessWhat.php Example a game based on the defineWord class
Plain text file SingleWordInText.php Example Example - define a single word inside a text

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:574
This week:0
All time:5,354
This week:146Up