original_string: private function unDoubling()
      {
          if ($this->search(array('kk', 'dd', 'tt')) !== false) {
              $this->word = Utf8::substr($this->word, 0, -1);
          }
      }
code: private function unDoubling()
      {
          if ($this->search(array('kk', 'dd', 'tt')) !== false) {
              $this->word = Utf8::substr($this->word, 0, -1);
          }
      }
code_tokens: private function unDoubling ( ) { if ( $ this -> search ( array ( 'kk' , 'dd' , 'tt' ) ) !== false ) { $ this -> word = Utf8 :: substr ( $ this -> word , 0 , - 1 ) ; } }
docstring: Define undoubling the ending as removing the last letter if the word ends kk, dd or tt.
docstring_tokens: Define undoubling the ending as removing the last letter if the word ends kk dd or tt .