original_string: 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);
          }
      }
code: 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);
          }
      }
code_tokens: 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 ) ; } }
docstring: Step 2
  Search for one of the following suffixes in R1, and if found delete the last letter.
docstring_tokens: Step 2 Search for one of the following suffixes in R1 and if found delete the last letter .