wamania / Php Stemmer
Licence: mit
Native PHP Stemmer
Stars: ✭ 84
Labels
Projects that are alternatives of or similar to Php Stemmer
hunspell
High-Performance Stemmer, Tokenizer, and Spell Checker for R
Stars: ✭ 101 (+20.24%)
Mutual labels: stemmer
Awesome Persian Nlp Ir
Curated List of Persian Natural Language Processing and Information Retrieval Tools and Resources
Stars: ✭ 460 (+447.62%)
Mutual labels: stemmer
sastrawijs
Indonesian language stemmer. Javascript port of PHP Sastrawi project.
Stars: ✭ 30 (-64.29%)
Mutual labels: stemmer
Kelime kok ayirici
Derin Öğrenme Tabanlı - seq2seq - Türkçe için kelime kökü bulma web uygulaması - Turkish Stemmer (tr_stemmer)
Stars: ✭ 76 (-9.52%)
Mutual labels: stemmer
gwizo
Simple Go implementation of the Porter Stemmer algorithm with powerful features.
Stars: ✭ 26 (-69.05%)
Mutual labels: stemmer
Akarata
Indonesian stemmer - Pustaka JavaScript untuk mengambil kata dasar dari kata berimbuhan pada bahasa Indonesia.
Stars: ✭ 26 (-69.05%)
Mutual labels: stemmer
lorca
Natural Language Processing for Spanish in Node.js. Stemmer, sentiment analysis, readability, tf-idf with batteries, concordance and more!
Stars: ✭ 95 (+13.1%)
Mutual labels: stemmer
Word forms
Accurately generate all possible forms of an English word e.g "election" --> "elect", "electoral", "electorate" etc.
Stars: ✭ 463 (+451.19%)
Mutual labels: stemmer
stemmify
Ruby module that converts a word to its approximate root form with the Porter stemmer. For example, observing and observation reduce to observ.
Stars: ✭ 54 (-35.71%)
Mutual labels: stemmer
Arabic Light Stemmer
Arabic light stemmer. Light stemming for Arabic words removes prefixes and suffixes and normalizes words
Stars: ✭ 14 (-83.33%)
Mutual labels: stemmer
lara-hungarian-nlp
NLP class for rapid ChatBot development in Hungarian language
Stars: ✭ 27 (-67.86%)
Mutual labels: stemmer
Lunr Languages
A collection of languages stemmers and stopwords for Lunr Javascript library
Stars: ✭ 296 (+252.38%)
Mutual labels: stemmer
Qutuf
Qutuf (قُطُوْف): An Arabic Morphological analyzer and Part-Of-Speech tagger as an Expert System.
Stars: ✭ 84 (+0%)
Mutual labels: stemmer
Nlp Js Tools French
POS Tagger, lemmatizer and stemmer for french language in javascript
Stars: ✭ 32 (-61.9%)
Mutual labels: stemmer
Snowball
Snowball version of the Porter stemmer for the Lithuanian language.
Stars: ✭ 5 (-94.05%)
Mutual labels: stemmer
php-stemmer
PHP native implementation of Snowball stemmer https://snowballstem.org/
Accept only UTF-8
Languages
Available :
- Catalan (by Orestes Sanchez Benavente [email protected])
- Danish
- Dutch
- English
- Finnish (by Mikko Saari)
- French
- German
- Italian
- Norwegian
- Portuguese
- Romanian
- Russian
- Spanish
- Swedish
Installation
For PHP5, use 1.3
composer require wamania/php-stemmer "^1.3"
For PHP7 use 2.x (branch 2.x is backward compatible with 1.x)
composer require wamania/php-stemmer "^2.0"
Usage
For 2.x, you should use the factory
// use ISO_639 (2 or 3 letters) or language name in english
$stemmer = StemmerFactory::create('fr');
$stemmer = StemmerFactory::create ('spanish');
// then
$stem = $stemmer->stem('automóvil');
Or the manager
$manager = new StemmerManager();
$stem = $manager->stem('automóvil', 'es');
In 1.3, you must instantiate manually
use Wamania\Snowball\French;
$stemmer = new French();
$stem = $stemmer->stem('anticonstitutionnellement');
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].