Overview

Namespaces

  • PHP
  • Sastrawi
    • Dictionary
    • Morphology
      • Disambiguator
    • Specification
    • Stemmer
      • Cache
      • ConfixStripping
      • Context
        • Visitor
      • Filter
    • StopWordRemover

Classes

  • StopWordRemover
  • StopWordRemoverFactory
  • Overview
  • Namespace
  • Class
  • Tree

Class StopWordRemover

Namespace: Sastrawi\StopWordRemover
Located at Sastrawi/StopWordRemover/StopWordRemover.php
Methods summary
public
# __construct( Sastrawi\Dictionary\DictionaryInterface $dictionary )
public Sastrawi\Dictionary\DictionaryInterface
# getDictionary( )

Returns

Sastrawi\Dictionary\DictionaryInterface
public string
# remove( string $text )

Remove stop words.

Remove stop words.

Parameters

$text
string
$text The text which stop words to be removed

Returns

string
The text after removal
Properties summary
protected Sastrawi\Dictionary\DictionaryInterface $dictionary
#
API documentation generated by ApiGen 2.8.0