Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Sastrawi
Stemmer
Context
Visitor
RemoveInflectionalParticle
remove
Sastrawi\Stemmer\Context\Visitor\RemoveInflectionalParticle::remove PHP Method
RemoveInflectionalParticle Class Documentation
Show file
Open project: sastrawi/sastrawi
remove()
public
method
Remove inflectional particle : lah|kah|tah|pun
public
remove
(
string
$word
)
$word
string
public function remove($word) { return preg_replace('/-*(lah|kah|tah|pun)$/', '', $word, 1); }
RemoveInflectionalParticle
remove
visit