public function restorePrefix()
    {
        foreach ($this->removals as $i => $removal) {
            if ($removal->getAffixType() == 'DP') {
                // return the word before precoding (the subject of first prefix removal)
                $this->setCurrentWord($removal->getSubject());
                break;
            }
        }

        foreach ($this->removals as $i => $removal) {
            if ($removal->getAffixType() == 'DP') {
                unset($this->removals[$i]);
            }
        }
    }
public function restorePrefix()
    {
        foreach ($this->removals as $i => $removal) {
            if ($removal->getAffixType() == 'DP') {
                // return the word before precoding (the subject of first prefix removal)
                $this->setCurrentWord($removal->getSubject());
                break;
            }
        }

        foreach ($this->removals as $i => $removal) {
            if ($removal->getAffixType() == 'DP') {
                unset($this->removals[$i]);
            }
        }
    }
public function restorePrefix ( ) { foreach ( $ this -> removals as $ i => $ removal ) { if ( $ removal -> getAffixType ( ) == 'DP' ) { // return the word before precoding (the subject of first prefix removal) $ this -> setCurrentWord ( $ removal -> getSubject ( ) ) ; break ; } } foreach ( $ this -> removals as $ i => $ removal ) { if ( $ removal -> getAffixType ( ) == 'DP' ) { unset ( $ this -> removals [ $ i ] ) ; } } }
Restore prefix to proceed with ECS loop pengembalian akhiran

@return void
Restore prefix to proceed with ECS loop pengembalian akhiran