protected function chooseVowelAfterConsonant($last, $soft_last, $after_soft, $after_hard) { if ($this->isHissingConsonant($last) || $this->isVelarConsonant($last) || $soft_last) { return $after_soft; } else { return $after_hard; } }