mirror of
https://github.com/retailcrm/NameCaseLib.git
synced 2024-12-05 03:16:06 +03:00
fix namecase. Женские имена *на. Фамилия валадон
This commit is contained in:
parent
295c025b1b
commit
f11a2d60e4
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user