From 2332612585a75af8f798ffcba1a985414e64e09b Mon Sep 17 00:00:00 2001 From: Denys Nosov Date: Mon, 11 May 2020 19:40:56 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A1=D0=BA=D0=BB=D0=BE=D0=BD=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=20=D0=B3=D0=BE=D1=80=D0=BE=D0=B4=D0=BE=D0=B2=20(?= =?UTF-8?q?=D1=84=D1=80=D0=B0=D0=BD=D1=86=D1=83=D0=B7=D0=BA=D0=B8=D0=B5=20?= =?UTF-8?q?=D0=BD=D0=B0=D0=B7=D0=B2=D0=B0=D0=BD=D0=B8=D1=8F)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Russian/GeographicalNamesInflection.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/Russian/GeographicalNamesInflection.php b/src/Russian/GeographicalNamesInflection.php index d777cb2..d51157d 100644 --- a/src/Russian/GeographicalNamesInflection.php +++ b/src/Russian/GeographicalNamesInflection.php @@ -20,6 +20,10 @@ class GeographicalNamesInflection extends \morphos\BaseInflection implements Cas protected static $delimiters = [ ' ', '-на-', + '-де-', + '-сюр-', + '-ан-', + '-ла-', '-', ]; @@ -42,6 +46,15 @@ class GeographicalNamesInflection extends \morphos\BaseInflection implements Cas 'ханты', 'буда', 'рублёво', + 'гран', + 'гранд', + 'вильфранш', + 'льорет', + 'андорра', + 'экс', + 'эс', + 'сен', + 'ла', ]; protected static $runawayVowelsExceptions = [