private function step2()
    {
        // dd   gd   nn   dt   gt   kt   tt
        if ($this->searchIfInR1(array('dd', 'gd', 'nn', 'dt', 'gt', 'kt', 'tt')) !== false) {
            $this->word = Utf8::substr($this->word, 0, -1);
        }
    }
private function step2()
    {
        // dd   gd   nn   dt   gt   kt   tt
        if ($this->searchIfInR1(array('dd', 'gd', 'nn', 'dt', 'gt', 'kt', 'tt')) !== false) {
            $this->word = Utf8::substr($this->word, 0, -1);
        }
    }
private function step2 ( ) { // dd   gd   nn   dt   gt   kt   tt if ( $ this -> searchIfInR1 ( array ( 'dd' , 'gd' , 'nn' , 'dt' , 'gt' , 'kt' , 'tt' ) ) !== false ) { $ this -> word = Utf8 :: substr ( $ this -> word , 0 , - 1 ) ; } }
Step 2
Search for one of the following suffixes in R1, and if found delete the last letter.
Step 2 Search for one of the following suffixes in R1 and if found delete the last letter .