PHP Classes

PHP STMR: PHP extension to implement the Porter stemmer

Recommend this page to a friend!
  Info   View files View files (10)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog (1)    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 53 All time: 10,611 This week: 88Up
Version License PHP version Categories
php-stmr 1.0.0MIT/X Consortium ...5Algorithms, PHP 5, Text processing, A..., E...
Description 

Author

This package provides a PHP extension to implement the Porter stemmer function.

It provides C code to implement a new PHP extension that implements a function named stem() to implement the Porter stemmer algorithm.

The stem() function takes a string and calls a C language implementation of the Porter stemmer algorithm to remove common endings of English words.

Innovation Award
PHP Programming Innovation award nominee
May 2023
Number 6
The Porter stemmer algorithm is used to process words to remove common endings. This algorithm helps detect similar words.

The Porter stemmer algorithm is used in artificial intelligence applications that simplify the processing of words in sentences by reducing the number of words the artificial intelligence needs to recognize.

This package provides a PHP extension written in C that provides a PHP function that implements the Porter stemmer algorithm.

This way, this function can run faster than a pure PHP implementation of the same algorithm. Consequently, PHP functions that use this extension can also run faster and process text in less time.

Manuel Lemos
Picture of Chun-Sheng, Li
  Performance   Level  
Name: Chun-Sheng, Li <contact>
Classes: 29 packages by
Country: Taiwan Taiwan
Age: 30
All time rank: 22016 in Taiwan Taiwan
Week rank: 16 Up1 in Taiwan Taiwan Up
Innovation award
Innovation award
Nominee: 14x

Winner: 1x

  Files folder image Files  
File Role Description
Files folder imagetests (2 files)
Accessible without login Plain text file config.m4 Data Auxiliary data
Accessible without login Plain text file config.w32 Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file php_stmr.c Data Auxiliary data
Accessible without login Plain text file php_stmr.h Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation
Accessible without login Plain text file stmr.c Data Auxiliary data
Accessible without login Plain text file stmr.h Data Auxiliary data

  Files folder image Files  /  tests  
File Role Description
  Accessible without login Plain text file 001.phpt Test PHP test script
  Accessible without login Plain text file 002.phpt Test PHP test script

 Version Control Unique User Downloads Download Rankings  
 100%
Total:53
This week:0
All time:10,611
This week:88Up