Login   Register  
PHP Classes
elePHPant
Icontem

MySQL Babel: Turn native language sentences into MySql queries

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   Screenshots Screenshots   View files View files (10)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2006-01-14 (8 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,033 All time: 3,321 This week: 1,384Up
Version License Categories  
mysql_babel 1.0GNU General Public Lice...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: 40
All time rank: 29111 in Italy Italy
Week rank: 256 Up15 in Italy Italy Down
Innovation award
Innovation award
Nominee: 3x

Screenshots  
  • shot04
  • shot05
  • shot02
  • shot01
  • EXshot08
  • EXshot05
  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  
 0%Total:1,033All time:3,321
 This week:0This week:1,384Up