PHP Classes
elePHPant
Icontem

PHP Fast Pattern Matching: Match text patterns using ternary tries

Recommend this page to a friend!
  Info   View files Example   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2015-01-23 (4 years ago) RSS 2.0 feedStarStarStarStar 72%Total: 452 All time: 6,032 This week: 333Up
Version License PHP version Categories
fastpm 0.1Free for non-comm...5.0Algorithms, PHP 5, Searching, Text pr...
Description Author

This package can match text patterns using ternary tries.

The main class can add text strings as symbol keys and it builds a ternary trie.

The class can also take a key string to match by searching the ternary trie. It returns an array with all the matches.

Innovation Award
PHP Programming Innovation award nominee
February 2015
Number 4


Prize: One year server license IP to country, region, city, latitude, longitude, ZIP code, time zone, area code database
Text pattern matching is a process of determining if a given text string contains sequences of characters that match a given pattern.

In PHP text pattern matching can be done using regular expressions and the preg extension.

This class provides a pure PHP approach for implementing text pattern matching by the use ternary tries.

Manuel Lemos
  Performance   Level  
Name: Ken Schick <contact>
Classes: 28 packages by
Country: Viet Nam Viet Nam
Age: 34
All time rank: 3862 in Viet Nam Viet Nam
Week rank: 36 Up1 in Viet Nam Viet Nam Up
Innovation award
Innovation award
Nominee: 22x

Winner: 3x

 

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example example script
Plain text file fastpm.php Class Main class
Accessible without login Plain text file unittest.php Test Unit Test

 Version Control Unique User Downloads Download Rankings  
 0%
Total:452
This week:0
All time:6,032
This week:333Up
 User Ratings  
 
 All time
Utility:91%StarStarStarStarStar
Consistency:91%StarStarStarStarStar
Documentation:-
Examples:91%StarStarStarStarStar
Tests:83%StarStarStarStarStar
Videos:-
Overall:72%StarStarStarStar
Rank:278