PHP Classes

PHP STMR: PHP extension to implement the Porter stemmer

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 54 All time: 10,614 This week: 53Up
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: 37 packages by
Country: Taiwan Taiwan
Age: 31
All time rank: 21046 in Taiwan Taiwan
Week rank: 4 Up1 in Taiwan Taiwan Up
Innovation award
Innovation award
Nominee: 17x

Winner: 1x

  Files folder image Files (10)  
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 (10)  /  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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:54
This week:0
All time:10,614
This week:53Up