PHP Classes

Packages of Ravindu Taveesha

Recommend this page to a friend!
  All class groups  >  All authors  >  Packages of Ravindu Taveesha (3)  >  Mission progress status  >  Reputation  
Picture of Ravindu Taveesha
Name: Ravindu Taveesha <contact> Ravindu Taveesha Google profile
Classes: 3
Country: Sri Lanka Sri Lanka
Age: 35
All time rank: 26784 in Sri Lanka Sri Lanka
Week rank: 195 Up1 in Sri Lanka Sri Lanka Up
All time users: 789
Week users: 0
Innovation award
Innovation award
Nominee: 1x
 
  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z  
  Files folder image Non-Word PHP Spell Checker  
Detect incorrectly spelled words and suggest fixes
This class can detect incorrectly spelled words and suggest fixes.

It takes a given text string and checks its words against a dictionary of words known to be valid to determine if they are correct.

For words that seem to be incorrect, it suggest words that are similar and seem to be correct versions of those words.

This package comes with a Python script that can be used to build a dictionary from sources of texts with correctly spelled words.

  Files folder image PHP Genetic Algorithm Class  
Optimize order of sequences with Genetic algorithm
This class can be used to optimize order of sequences with Genetic algorithm.

It can take an array with a sequence of objects to optimize and it applies genetic algorithm to evolve the sequence.

The class applies a given number of generations to perform elitistic selection with a given fitness function, applies cross-over and mutation.

The resulting sequence of objects is stored as an array class variable.

An example is provided to optimize a sequence of cities to travel.

  Files folder image PHP Word Search in Array  
PHP Programming Innovation award nominee
March 2017
Number 5


Prize: One downloadable e-book of choice by O'Reilly
Search a word in a 2 dimension array of characters
This class can search a word in a 2 dimension array of characters.

It can take a string with different rows of characters separated by | and splits it to extract the list of characters in the 2 dimension grid.

The class can search for a given word that may appear in the grid horizontally, vertically or diagonally.

In the end it can also display the grid of characters in an HTML table.


  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z