PHP Classes

PHPPolygen: Generate phrases based on a grammar using Polygen

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2009-04-24 (6 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 316 All time: 6,618 This week: 1,344Up
Version License PHP version Categories  
phppolygen 1.1GNU Lesser Genera...5Text processing, Web services
Description Author  

This class can be used to generate random phrases based on a grammar using Polygen Web services API.

It accesses the Polygen Web services API server and send request to generate a phrase using rules of grammar with a given name. Currently the Polygen API provides grammars for several topics in the Italian language.

The class can retrieve the generated phrase and return it as a text or HTML formatted string.

Innovation Award  
PHP Programming Innovation award nominee
July 2008
Number 11

Prize: One copy of Delphi for PHP
Polygen is a curious service that can be used to generate random phrases that obey the rules of a given grammar.

This class provides a solution to use Polygen services from PHP.

Manuel Lemos
Picture of Andrea Tosone
Name: Andrea Tosone <contact>
Classes: 1 package by
Country: Italy Italy
Age: ???
All time rank: 3426139 in Italy Italy
Week rank: 1620 Up66 in Italy Italy Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file lgpl-2.1.txt Lic. LGPL 2.1 license
Plain text file phppolygen.php Class class source
Accessible without login Plain text file README.txt Doc. documentation
Accessible without login Plain text file test.php Example example uses

 Version Control Unique User Downloads Download Rankings  
 0%Total:316All time:6,618
 This week:0This week:1,344Up
 User Comments (1)  
Yes, it generates output, but not by itself.
6 years ago (fatevinculo)