Overview

Namespaces

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

Classes

  • ArrayDictionary

Interfaces

  • DictionaryInterface
  • Overview
  • Namespace
  • Class
  • Tree

Interface DictionaryInterface

The Dictionary interface used by the stemmer.

Sastrawi\Dictionary\DictionaryInterface implements Countable

Direct known implementers

Sastrawi\Dictionary\ArrayDictionary
Namespace: Sastrawi\Dictionary
Author: Andy Librian <andylibrian@gmail.com>
Since: 0.1.0
Located at Sastrawi/Dictionary/DictionaryInterface.php
Methods summary
public boolean
# contains( string $word )

Checks whether a word is contained in the dictionary.

Checks whether a word is contained in the dictionary.

Parameters

$word
string
$word The word to search for.

Returns

boolean
TRUE if the dictionary contains the word, FALSE otherwise.
Methods inherited from Countable
count()
API documentation generated by ApiGen 2.8.0