Overview

Namespaces

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

Classes

  • CachedStemmer
  • Stemmer
  • StemmerFactory

Interfaces

  • StemmerInterface
  • Overview
  • Namespace
  • Class
  • Tree
 1: <?php
 2: /**
 3:  * Sastrawi (https://github.com/sastrawi/sastrawi)
 4:  *
 5:  * @link      http://github.com/sastrawi/sastrawi for the canonical source repository
 6:  * @license   https://github.com/sastrawi/sastrawi/blob/master/LICENSE The MIT License (MIT)
 7:  */
 8: 
 9: namespace Sastrawi\Stemmer;
10: 
11: /**
12:  * The stemmer interface
13:  *
14:  * @since  0.4.0
15:  * @author Andy Librian <andylibrian@gmail.com>
16:  */
17: interface StemmerInterface
18: {
19:    /**
20:      * Stem a text to its common stem form
21:      *
22:      * @param  string $text the text string to stem, e.g : memberdayakan pembangunan
23:      * @return string common stem form, e.g : daya bangun
24:      */
25:     public function stem($text);
26: }
27: 
API documentation generated by ApiGen 2.8.0