PHP Classes

PHP STMR: PHP extension to implement the Porter stemmer

Recommend this page to a friend!

  Author Author  
Picture of Chun-Sheng, Li
Name: Chun-Sheng, Li <contact>
Classes: 22 packages by
Country: Taiwan Taiwan
Innovation award
Innovation award
Nominee: 12x

Winner: 1x


  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
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.

  Classes of Chun-Sheng, Li  >  PHP STMR  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog (1)  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PHP STMR
Base name: php-stmr
Description: PHP extension to implement the Porter stemmer
Version: 1.0.0
PHP version: 5
License: MIT/X Consortium License
 
  Groups   Applications   Files Files  

  Groups  
Group folder image Algorithms Numerical and statistical algorithms View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Text processing Manipulating and validating text data View top rated classes
Group folder image Artificial intelligence Automation of tasks using human-like intelligence View top rated classes
Group folder image Extensions Extend PHP using code in C, C++ or other languages View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
May 2023
Nominee
Vote
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

  Applications that use this package  
No pages of applications that use this class were specified.

Add link image If you know an application of this package, send a message to the author to add a link here.

  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

Install with Composer Install with Composer - Download Download all files: php-stmr.tar.gz php-stmr.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.
  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

Install with Composer Install with Composer - Download Download all files: php-stmr.tar.gz php-stmr.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.