Overview

Namespaces

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

Classes

  • Context
  • Removal

Interfaces

  • ContextInterface
  • RemovalInterface
  • Overview
  • Namespace
  • Class
  • Tree

Class Removal

Standard implementation of Removal Interface.

Sastrawi\Stemmer\Context\Removal implements Sastrawi\Stemmer\Context\RemovalInterface
Namespace: Sastrawi\Stemmer\Context
Located at Sastrawi/Stemmer/Context/Removal.php
Methods summary
public
# __construct( Sastrawi\Stemmer\Context\Visitor\VisitorInterface $visitor, string $subject, string $result, string $removedPart, string $affixType )

Parameters

$visitor
Sastrawi\Stemmer\Context\Visitor\VisitorInterface
$visitor
$subject
string
$subject
$result
string
$result
$removedPart
string
$removedPart
$affixType
string
$affixType
public Sastrawi\Stemmer\Context\Visitor\VisitorInterface
# getVisitor( )

Returns

Sastrawi\Stemmer\Context\Visitor\VisitorInterface

Implementation of

Sastrawi\Stemmer\Context\RemovalInterface::getVisitor()
public string
# getSubject( )

Returns

string

Implementation of

Sastrawi\Stemmer\Context\RemovalInterface::getSubject()
public string
# getResult( )

Returns

string

Implementation of

Sastrawi\Stemmer\Context\RemovalInterface::getResult()
public string
# getRemovedPart( )

Returns

string

Implementation of

Sastrawi\Stemmer\Context\RemovalInterface::getRemovedPart()
public string
# getAffixType( )

Returns

string

Implementation of

Sastrawi\Stemmer\Context\RemovalInterface::getAffixType()
Properties summary
protected Sastrawi\Stemmer\Context\Visitor\VisitorInterface $visitor
#
protected string $subject
#
protected string $result
#
protected string $removedPart
#
protected string $affixType
#
API documentation generated by ApiGen 2.8.0