PHP Classes
elePHPant
Icontem

Talking Machine: Learn an idiom and generate words in that idiom

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2007-04-14 (9 years ago) RSS 2.0 feedStarStarStar 50%Total: 2,452 This week: 1All time: 1,519 This week: 828Up
Version License PHP version Categories
tm 1.0.0BSD License4Text processing, Artificial intelligence
Description Author

This class can be used to generate a text with words in a given idiom by using machine learning techniques to make the class learn that idiom.

It can be trained to learn an idiom using files with text written in that idiom. The results of the training are stored in a statistics file.

Then the class can generate a set of words in that idiom using the knowlegde of the idiom obtained during the training phase.

The class can either:

- Generate passwords of arbitrary length in that idiom,
- Generate a speech of arbitrary number of words
- Let the user dialog with the talking machine by generating phrases based on what the user types

Innovation Award
PHP Programming Innovation award nominee
April 2007
Number 2


Prize: One book of choice by Packt
Sometimes you need to generate a word or whole phrase in a given language.

So, you need to have a program that generates words that actually exist and make sense within a given context, like for instance, generating easy to spell passwords or phrases that could part of a real speech.

This class implements an interesting solution that uses machine learning techniques to learn an idiom from an existing texts. Then it can generate single words or even phrases in that idiom from the words it previously learned.

Manuel Lemos
Picture of Francisco Arias
Name: Francisco Arias <contact>
Classes: 2 packages by
Country: San Marino San Marino
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

Screenshots  
  • TM.jpg
  Files folder image Files  
File Role Description
Plain text file TM.php Class Talking Machine class & command line
Plain text file train_computers_en.txt Data Example text training for english
Plain text file train_computers_es.txt Data Example text training in spanish
Plain text file train_computers_fr.txt Data Example text training in french
Plain text file tutorial Doc. TExt tutorial about the command line tool

 Version Control Unique User Downloads Download Rankings  
 0%
Total:2,452
This week:1
All time:1,519
This week:828Up
User Ratings User Comments (1)
 All time
Utility:70%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:80%StarStarStarStarStar
Examples:-
Tests:-
Videos:-
Overall:50%StarStarStar
Rank:2055