fix namecase. Женские имена *на. Фамилия валадон

This commit is contained in:
RA 2015-09-23 11:19:34 +03:00
parent 295c025b1b
commit f11a2d60e4

View File

@ -603,7 +603,7 @@ class NCLNameCaseRu extends NCLNameCaseCore
$man+=0.02; $man+=0.02;
} }
if ($this->in($this->Last(2), array('вь', 'фь', 'ль'))) if ($this->in($this->Last(2), array('вь', 'фь', 'ль', 'на')))
{ {
$woman+=0.1; $woman+=0.1;
} }
@ -941,7 +941,8 @@ class NCLNameCaseRu extends NCLNameCaseCore
$second+=0.4; $second+=0.4;
} }
if ($this->inNames($namepart, array('да'))){ //исключения и частички
if ($this->inNames($namepart, array('да', 'валадон'))){
$second += 10; $second += 10;
} }