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)    
Last Updated Ratings Unique User Downloads Download Rankings
2023-05-16 (10 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 49 This week: 1All time: 10,667 This week: 560Up
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: 27 packages by
Country: Taiwan Taiwan
Age: 30
All time rank: 22646 in Taiwan Taiwan
Week rank: 411 Up2 in Taiwan Taiwan Up
Innovation award
Innovation award
Nominee: 13x

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:49
This week:1
All time:10,667
This week:560Up