From b79fcac2c843ff1d5bbdc816b9c0af108349537b Mon Sep 17 00:00:00 2001 From: Andriy Chaika Date: Wed, 27 Jul 2011 15:10:16 +0300 Subject: [PATCH] =?UTF-8?q?[0.4.1]=20/RU11072716/=20=D1=80=D0=B0=D1=81?= =?UTF-8?q?=D0=BF=D0=BE=D0=B7=D0=BD=D0=B0=D0=B2=D0=B0=D0=BD=D0=B8=D0=B5=20?= =?UTF-8?q?=D0=B8=D0=BC=D0=B5=D0=BD=D0=B8,=20=D1=84=D0=B0=D0=BC=D0=B8?= =?UTF-8?q?=D0=BB=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Library/NCLNameCaseRu.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Library/NCLNameCaseRu.php b/Library/NCLNameCaseRu.php index abd4522..cdc95f0 100644 --- a/Library/NCLNameCaseRu.php +++ b/Library/NCLNameCaseRu.php @@ -64,8 +64,8 @@ class NCLNameCaseRu extends NCLNameCaseCore 'в' => 'аь', 'г' => 'а', 'д' => 'ар', - 'е' => 'бвгдйлмнря', - 'ё' => 'бвгдйлмнря', + 'е' => 'бвгдйлмня', + 'ё' => 'бвгдйлмня', 'ж' => '', 'з' => 'а', 'и' => 'гдйклмнопрсфя', @@ -674,7 +674,7 @@ class NCLNameCaseRu extends NCLNameCaseCore { $first+=0.5; } - + /** * буквы на которые никогда не закнчиваются имена */ @@ -682,18 +682,18 @@ class NCLNameCaseRu extends NCLNameCaseCore { $second += 0.3; } - + /** * Используем массив характерных окончаний */ - if(isset($this->splitSecondExclude[$this->Last(2, 1)])) + if (isset($this->splitSecondExclude[$this->Last(2, 1)])) { - if(!$this->in($this->Last(1), $this->splitSecondExclude[$this->Last(2, 1)])) + if (!$this->in($this->Last(1), $this->splitSecondExclude[$this->Last(2, 1)])) { $second += 0.4; } } - + /** * Не бывает имет с такими предпоследними буквами */ @@ -746,7 +746,7 @@ class NCLNameCaseRu extends NCLNameCaseCore /** * Слова, которые заканчиваются на тин */ - if($this->Last(3) == 'тин' and $this->in($this->Last(4, 1), 'нст')) + if ($this->Last(3) == 'тин' and $this->in($this->Last(4, 1), 'нст')) { $first += 0.5; }