protected function stemWord($word) { if ($this->isPlural($word)) { return $this->stemPluralWord($word); } else { return $this->stemSingularWord($word); } }