[0.4.1] /RU11072716/ распознавание имени, фамилии

This commit is contained in:
Andriy Chaika 2011-07-27 15:58:34 +03:00
parent dd3b304fa6
commit d9d7a57a5f

View File

@ -220,7 +220,7 @@ class NCLNameCaseRu extends NCLNameCaseCore
$this->Rule(403);
return true;
}
elseif(!$this->in($this->Last(2, 1), $this->vowels))
elseif (!$this->in($this->Last(2, 1), $this->vowels) or $this->Last(2, 1) == 'и')
{
$this->wordForms($this->workingWord, array('ого', 'ому', 'ого', 'им', 'ом'), 2);
$this->Rule(404);