PHP Classes

MySQL Babel: Turn native language sentences into MySql queries

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (10)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,112 All time: 3,371 This week: 339Up
Version License Categories
mysql_babel 1.0.0GNU General Publi...Localization, Databases, Text processing
Description Author

The goal is to convert native language sentences into MySQL queries.

The implementation of this class may let your programs gain more versatility, as not only users may input easier queries because of close their today native language but also due to the effective possibility for users to input any query their might want to display.

The current version 0.0.1 supports translating queries stated in Italian and French only. Developers are welcomed to help this code improvement for the class code itself, as well they can add other languages translation support.

Innovation Award
PHP Programming Innovation award nominee
July 2005
Number 6

Prize: One subscription to the PDF edition of the magazine by PHP Architect
SQL is a well-known language for describing queries to access data stored in databases.

SQL is a language with a syntax that employs English words to form the statements that describe the commands of the queries.

This class provides an alternative approach to define database queries. It can translate statements with a natural language syntax into SQL.

This natural language can be made of words in other idioms besides English, thus making it easier to learn for those that do not dominate the English language.

Manuel Lemos
Picture of zandor
Name: zandor <contact>
Classes: 10 packages by
Country: Italy Italy
Age: 47
All time rank: 2909 in Italy Italy
Week rank: 557 Down17 in Italy Italy Down
Innovation award
Innovation award
Nominee: 3x

  • EXshot05
  • EXshot08
  • shot01
  • shot02
  • shot04
  • shot05
  Files folder image Files  
File Role Description
Accessible without login Plain text file dbexample.sql Data mysql code to create an example db environment
Accessible without login Plain text file de.php Class german dictionary
Accessible without login Plain text file en.php Class english dictionary
Accessible without login Plain text file example.php Example input form example
Accessible without login Plain text file fr.php Conf. french dictionary
Plain text file index.php Example example on how to implement this class
Accessible without login Plain text file it.php Conf. italian dictionary
Accessible without login Plain text file mx.php Class mexican dictionary
Accessible without login Plain text file mysql_babel.php Class main class code
Accessible without login Plain text file style.css Data css file for results

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:3,371
This week:339Up
For more information send a message to info at phpclasses dot org.