original_string: public function addWord($word, $value = 1)
      {
          if (isset($this->wordsArray[$word])) {
              $this->wordsArray[$word] += $value;
          } else {
              $this->wordsArray[$word] = $value;
          }
      }
code: public function addWord($word, $value = 1)
      {
          if (isset($this->wordsArray[$word])) {
              $this->wordsArray[$word] += $value;
          } else {
              $this->wordsArray[$word] = $value;
          }
      }
code_tokens: public function addWord ( $ word , $ value = 1 ) { if ( isset ( $ this -> wordsArray [ $ word ] ) ) { $ this -> wordsArray [ $ word ] += $ value ; } else { $ this -> wordsArray [ $ word ] = $ value ; } }
docstring: Assign word to array
  @param string $word
  @param int $value
  @return string
docstring_tokens: Assign word to array