fix исключение "Дель"

This commit is contained in:
RA 2015-07-28 16:22:31 +03:00
parent a0b88bee84
commit 2a89e04163

View File

@ -103,6 +103,13 @@ class NCLNameCaseRu extends NCLNameCaseCore
{ {
if ($this->in($this->Last(1), 'ьй')) if ($this->in($this->Last(1), 'ьй'))
{ {
if ($this->inNames($this->workingWord, array('Дель')))
{
$this->Rule(101);
$this->makeResultTheSame();
return true;
}
if ($this->Last(2, 1) != "и") if ($this->Last(2, 1) != "и")
{ {
$this->wordForms($this->workingWord, array('я', 'ю', 'я', 'ем', 'е'), 1); $this->wordForms($this->workingWord, array('я', 'ю', 'я', 'ем', 'е'), 1);