Skip to content

Commit f6ec7d0

Browse files
committed
v1.0.3
1 parent 45ddffd commit f6ec7d0

5 files changed

Lines changed: 25 additions & 5 deletions

File tree

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
universal=1
33
[metadata]
44
description-file = NLP parser Ukrainian addresses
5-
long_description = file: README.en.md
5+
long_description = file: README.md
66
long_description_content_type = text/markdown

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
author='Evgen Kytonin',
1616
license='MIT',
1717
keywords=['nlp', 'ukraine', 'address', 'research', 'parsing'],
18-
url='https://github.com/martinjack/uaddress',
18+
url='https://github.com/RapidappsIT/uaddress',
1919
package_data={'uaddress': ['uaddr.crfsuite']},
2020
classifiers=[
2121
'Development Status :: 5 - Production/Stable',

training/data.xml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -622,4 +622,24 @@
622622
<AddressString><LocalityType>&#1084;.</LocalityType> <Locality>&#1050;&#1080;&#1111;&#1074;</Locality> <StreetType>&#1074;&#1091;&#1083;.</StreetType> <Street>&#1058;&#1086;&#1083;&#1089;&#1090;&#1086;&#1075;&#1086;</Street> <Street>&#1051;&#1100;&#1074;&#1072;</Street> <HouseNumber>11/61</HouseNumber> <ApartmentType>&#1087;&#1088;&#1080;&#1084;&#1110;&#1097;&#1077;&#1085;&#1085;&#1103;</ApartmentType> <Apartment>67</Apartment></AddressString>
623623
<AddressString><LocalityType>&#1084;.</LocalityType> <Locality>&#1050;&#1080;&#1111;&#1074;</Locality> <StreetType>&#1074;&#1091;&#1083;.</StreetType> <Street>&#1061;&#1086;&#1093;&#1083;&#1086;&#1074;&#1080;&#1093;</Street> <Street>&#1057;&#1110;&#1084;'&#1111;</Street> <HouseNumber>8</HouseNumber> <HousingType>&#1082;&#1086;&#1088;&#1087;&#1091;&#1089;.</HousingType> <Housing>8&#1040;</Housing></AddressString>
624624
<AddressString><LocalityType>&#1084;.</LocalityType> <Locality>&#1042;&#1080;&#1096;&#1075;&#1086;&#1088;&#1086;&#1076;</Locality> <StreetType>&#1074;&#1091;&#1083;.</StreetType> <Street>&#1050;&#1080;&#1111;&#1074;&#1089;&#1100;&#1082;&#1072;</Street> <Region>&#1050;&#1080;&#1111;&#1074;&#1089;&#1100;&#1082;&#1072;</Region> <RegionType>&#1086;&#1073;&#1083;.</RegionType> <County>&#1042;&#1080;&#1096;&#1075;&#1086;&#1088;&#1086;&#1076;&#1089;&#1100;&#1082;&#1080;&#1081;</County> <CountyType>&#1088;-&#1085;</CountyType> <HouseNumber>10-&#1042;</HouseNumber></AddressString>
625+
<AddressString><PostCode>58002</PostCode> <Locality>&#1063;&#1077;&#1088;&#1085;&#1110;&#1074;&#1094;&#1110;</Locality> <LocalityType>&#1084;.</LocalityType> <Street>&#1061;&#1084;&#1077;&#1083;&#1100;&#1085;&#1080;&#1094;&#1100;&#1082;&#1086;&#1075;&#1086;</Street> <Street>&#1041;.</Street> <StreetType>&#1090;&#1091;&#1087;.</StreetType> <HouseNumber>3</HouseNumber> <ApartmentType>&#1082;&#1074;.</ApartmentType> <Apartment>1</Apartment></AddressString>
626+
<AddressString><PostCode>58008</PostCode> <RegionType>&#1086;&#1073;&#1083;.</RegionType> <Region>&#1063;&#1077;&#1088;&#1085;&#1110;&#1074;&#1077;&#1094;&#1100;&#1082;&#1072;</Region> <Locality>&#1063;&#1077;&#1088;&#1085;&#1110;&#1074;&#1094;&#1110;</Locality> <LocalityType>&#1084;.</LocalityType> <Street>&#1042;&#1080;&#1096;&#1080;&#1074;&#1072;&#1085;&#1086;&#1075;&#1086;</Street> <Street>&#1042;.</Street> <AdditionalData>(&#1050;&#1110;&#1088;&#1086;&#1074;&#1086;&#1075;&#1088;&#1072;&#1076;</AdditionalData> <HouseNumber>2</HouseNumber> <ApartmentType>&#1082;&#1074;.</ApartmentType></AddressString>
627+
<AddressString><PostCode>58025</PostCode> <RegionType>&#1086;&#1073;&#1083;.</RegionType> <Region>&#1063;&#1077;&#1088;&#1085;&#1110;&#1074;&#1077;&#1094;&#1100;&#1082;&#1072;</Region> <Locality>&#1063;&#1077;&#1088;&#1085;&#1110;&#1074;&#1094;&#1110;</Locality> <LocalityType>&#1084;.</LocalityType> <Street>&#1052;&#1110;&#1093;&#1085;&#1086;&#1074;&#1089;&#1100;&#1082;&#1086;&#1075;&#1086;</Street> <Street>&#1052;.</Street> <AdditionalData>(&#1055;&#1077;&#1090;&#1088;&#1086;&#1074;&#1089;&#1100;</AdditionalData> <HouseNumber>4</HouseNumber> <ApartmentType>&#1082;&#1074;.</ApartmentType></AddressString>
628+
<AddressString><PostCode>58001</PostCode> <RegionType>&#1086;&#1073;&#1083;.</RegionType> <Region>&#1063;&#1077;&#1088;&#1085;&#1110;&#1074;&#1077;&#1094;&#1100;&#1082;&#1072;</Region> <Locality>&#1063;&#1077;&#1088;&#1085;&#1110;&#1074;&#1094;&#1110;</Locality> <LocalityType>&#1084;.</LocalityType> <Street>&#1050;&#1072;&#1088;&#1110;&#1085;&#1090;&#1110;&#1081;&#1089;&#1100;&#1082;&#1072;</Street> <AdditionalData>(&#1055;&#1077;&#1090;&#1077;&#1088;&#1075;&#1086;&#1092;&#1089;&#1100;&#1082;&#1072;</AdditionalData> <HouseNumber>3</HouseNumber> <ApartmentType>&#1082;&#1074;.</ApartmentType> <Apartment>1</Apartment></AddressString>
629+
<AddressString><PostCode>58002</PostCode> <RegionType>&#1086;&#1073;&#1083;.</RegionType> <Region>&#1063;&#1077;&#1088;&#1085;&#1110;&#1074;&#1077;&#1094;&#1100;&#1082;&#1072;</Region> <Locality>&#1063;&#1077;&#1088;&#1085;&#1110;&#1074;&#1094;&#1110;</Locality> <LocalityType>&#1084;.</LocalityType> <Street>&#1030;&#1074;&#1072;&#1085;&#1072;</Street> <Street>&#1050;&#1086;&#1090;&#1083;&#1103;&#1088;&#1077;&#1074;&#1089;&#1100;&#1082;&#1086;&#1075;&#1086;</Street> <HouseNumber>14</HouseNumber> <ApartmentType>&#1082;&#1074;.</ApartmentType> <Apartment>6</Apartment></AddressString>
630+
<AddressString><PostCode>58001</PostCode> <RegionType>&#1086;&#1073;&#1083;.</RegionType> <Region>&#1063;&#1077;&#1088;&#1085;&#1110;&#1074;&#1077;&#1094;&#1100;&#1082;&#1072;</Region> <Locality>&#1063;&#1077;&#1088;&#1085;&#1110;&#1074;&#1094;&#1110;</Locality> <LocalityType>&#1084;.</LocalityType> <Street>&#1050;&#1086;&#1073;&#1080;&#1083;&#1080;&#1094;&#1110;</Street> <Street>&#1051;&#1091;&#1082;'&#1103;&#1085;&#1072;</Street> <HouseNumber>4</HouseNumber> <ApartmentType>&#1082;&#1074;.</ApartmentType></AddressString>
631+
<AddressString><PostCode>58002</PostCode> <RegionType>&#1086;&#1073;&#1083;.</RegionType> <Region>&#1063;&#1077;&#1088;&#1085;&#1110;&#1074;&#1077;&#1094;&#1100;&#1082;&#1072;</Region> <Locality>&#1063;&#1077;&#1088;&#1085;&#1110;&#1074;&#1094;&#1110;</Locality> <LocalityType>&#1084;.</LocalityType> <Street>&#1063;&#1077;&#1088;&#1074;&#1085;&#1103;</Street> <Street>28</Street> <HouseNumber>46</HouseNumber> <ApartmentType>&#1082;&#1074;.</ApartmentType> <Apartment>10</Apartment></AddressString>
632+
<AddressString><PostCode>58003</PostCode> <RegionType>&#1086;&#1073;&#1083;.</RegionType> <Region>&#1063;&#1077;&#1088;&#1085;&#1110;&#1074;&#1077;&#1094;&#1100;&#1082;&#1072;</Region> <Locality>&#1063;&#1077;&#1088;&#1085;&#1110;&#1074;&#1094;&#1110;</Locality> <LocalityType>&#1084;.</LocalityType> <Street>&#1043;&#1077;&#1088;&#1094;&#1077;&#1085;&#1072;</Street> <StreetType>&#1087;&#1088;&#1086;&#1074;.</StreetType> <Street>1</Street> <HouseNumber>13</HouseNumber> <ApartmentType>&#1082;&#1074;.</ApartmentType> <Apartment>1</Apartment></AddressString>
633+
<AddressString><PostCode>58004</PostCode> <RegionType>&#1086;&#1073;&#1083;.</RegionType> <Region>&#1063;&#1077;&#1088;&#1085;&#1110;&#1074;&#1077;&#1094;&#1100;&#1082;&#1072;</Region> <Locality>&#1063;&#1077;&#1088;&#1085;&#1110;&#1074;&#1094;&#1110;</Locality> <LocalityType>&#1084;.</LocalityType> <Street>&#1052;&#1091;&#1082;&#1072;&#1095;&#1110;&#1074;&#1089;&#1100;&#1082;&#1080;&#1081;</Street> <StreetType>&#1087;&#1088;&#1086;&#1074;.</StreetType> <Street>4</Street> <HouseNumber>1&#1072;</HouseNumber> <ApartmentType>&#1082;&#1074;.</ApartmentType> <Apartment>1</Apartment></AddressString>
634+
<AddressString><PostCode>58008</PostCode> <RegionType>&#1086;&#1073;&#1083;.</RegionType> <Region>&#1063;&#1077;&#1088;&#1085;&#1110;&#1074;&#1077;&#1094;&#1100;&#1082;&#1072;</Region> <Locality>&#1063;&#1077;&#1088;&#1085;&#1110;&#1074;&#1094;&#1110;</Locality> <LocalityType>&#1084;.</LocalityType> <Street>&#1053;&#1072;&#1093;&#1110;&#1084;&#1086;&#1074;&#1072;</Street> <Street>&#1055;.</Street> <Street>&#1072;&#1076;&#1084;&#1110;&#1088;&#1072;&#1083;&#1072;</Street> <HouseNumber>5</HouseNumber> <ApartmentType>&#1082;&#1074;.</ApartmentType> <Apartment>1</Apartment></AddressString>
635+
<AddressString><PostCode>58008</PostCode> <RegionType>&#1086;&#1073;&#1083;.</RegionType> <Region>&#1063;&#1077;&#1088;&#1085;&#1110;&#1074;&#1077;&#1094;&#1100;&#1082;&#1072;</Region> <Locality>&#1063;&#1077;&#1088;&#1085;&#1110;&#1074;&#1094;&#1110;</Locality> <LocalityType>&#1084;.</LocalityType> <Street>&#1064;&#1077;&#1087;&#1090;&#1080;&#1094;&#1100;&#1082;&#1086;&#1075;&#1086;</Street> <Street>&#1040;.</Street> <Street>&#1084;&#1080;&#1090;&#1088;&#1086;&#1087;.</Street> <HouseNumber>2</HouseNumber> <ApartmentType>&#1082;&#1074;.</ApartmentType> <Apartment>2</Apartment></AddressString>
636+
<AddressString><PostCode>58001</PostCode> <RegionType>&#1086;&#1073;&#1083;.</RegionType> <Region>&#1063;&#1077;&#1088;&#1085;&#1110;&#1074;&#1077;&#1094;&#1100;&#1082;&#1072;</Region> <Locality>&#1063;&#1077;&#1088;&#1085;&#1110;&#1074;&#1094;&#1110;</Locality> <LocalityType>&#1084;.</LocalityType> <Street>&#1053;&#1072;&#1090;&#1072;&#1083;&#1110;&#1111;</Street> <Street>&#1050;&#1086;&#1073;&#1088;&#1080;&#1085;&#1089;&#1100;&#1082;&#1086;&#1111;</Street> <AdditionalData>(&#1061;&#1072;&#1083;&#1090;&#1091;&#1088;&#1110;&#1085;&#1072;</AdditionalData> <HouseNumber>10</HouseNumber> <ApartmentType>&#1082;&#1074;.</ApartmentType> <Apartment>2</Apartment></AddressString>
637+
<AddressString><PostCode>58002</PostCode> <RegionType>&#1086;&#1073;&#1083;.</RegionType> <Region>&#1063;&#1077;&#1088;&#1085;&#1110;&#1074;&#1077;&#1094;&#1100;&#1082;&#1072;</Region> <Locality>&#1063;&#1077;&#1088;&#1085;&#1110;&#1074;&#1094;&#1110;</Locality> <LocalityType>&#1084;.</LocalityType> <Street>&#1056;&#1072;&#1081;&#1084;&#1091;&#1085;&#1076;</Street> <Street>&#1060;&#1088;&#1110;&#1076;&#1088;&#1110;&#1093;</Street> <Street>&#1050;&#1072;&#1081;&#1085;&#1076;&#1083;&#1100;</Street> <AdditionalData>(&#1063;&#1077;&#1083;&#1102;&#1089;&#1082;&#1110;&#1085;&#1094;&#1110;</AdditionalData> <HouseNumber>3</HouseNumber> <ApartmentType>&#1082;&#1074;.</ApartmentType> <Apartment>8</Apartment></AddressString>
638+
<AddressString><PostCode>58025</PostCode> <RegionType>&#1086;&#1073;&#1083;.</RegionType> <Region>&#1063;&#1077;&#1088;&#1085;&#1110;&#1074;&#1077;&#1094;&#1100;&#1082;&#1072;</Region> <Locality>&#1063;&#1077;&#1088;&#1085;&#1110;&#1074;&#1094;&#1110;</Locality> <LocalityType>&#1084;.</LocalityType> <Street>&#1071;&#1088;&#1086;&#1089;&#1083;&#1072;&#1074;&#1072;</Street> <Street>&#1052;&#1091;&#1076;&#1088;&#1086;&#1075;&#1086;</Street> <AdditionalData>(&#1058;&#1086;&#1088;&#1077;&#1079;&#1072;</AdditionalData> <HouseNumber>203</HouseNumber> <ApartmentType>&#1082;&#1074;.</ApartmentType> <Apartment>2</Apartment></AddressString>
639+
<AddressString><PostCode>60412</PostCode> <RegionType>&#1086;&#1073;&#1083;.</RegionType> <Region>&#1063;&#1077;&#1088;&#1085;&#1110;&#1074;&#1077;&#1094;&#1100;&#1082;&#1072;</Region> <Locality>&#1063;&#1077;&#1088;&#1085;&#1110;&#1074;&#1094;&#1110;</Locality> <LocalityType>&#1084;.</LocalityType> <LocalityType>&#1089;.</LocalityType> <Locality>&#1063;&#1072;&#1075;&#1086;&#1088;.</Locality> <StreetType>&#1087;&#1088;&#1086;&#1074;.</StreetType> <Street>&#1030;.</Street> <Street>&#1052;&#1072;&#1079;&#1077;&#1087;&#1080;</Street> <HouseNumber>12</HouseNumber> <ApartmentType>&#1082;&#1074;.</ApartmentType></AddressString>
640+
<AddressString><PostCode>60520</PostCode> <Locality>&#1063;&#1077;&#1088;&#1085;&#1110;&#1074;&#1094;&#1110;</Locality> <LocalityType>&#1084;.</LocalityType> <Locality>&#1054;&#1089;&#1090;&#1088;&#1080;&#1094;&#1103;.</Locality> <Street>&#1055;&#1088;&#1080;&#1084;&#1110;&#1089;&#1100;&#1082;&#1072;</Street> <HouseNumber>7</HouseNumber> <ApartmentType>&#1082;&#1074;.</ApartmentType> <Apartment>3</Apartment></AddressString>
641+
<AddressString><PostCode>60410</PostCode> <Locality>&#1063;&#1077;&#1088;&#1085;&#1110;&#1074;&#1094;&#1110;</Locality> <LocalityType>&#1084;.</LocalityType> <Locality>&#1050;&#1086;&#1088;&#1086;&#1074;&#1110;&#1103;.</Locality> <Street>&#1061;&#1084;&#1077;&#1083;&#1100;&#1085;&#1080;&#1094;&#1100;&#1082;&#1086;&#1075;&#1086;</Street> <Street>&#1041;.</Street> <HouseNumber>15</HouseNumber> <ApartmentType>&#1082;&#1074;.</ApartmentType></AddressString>
642+
<AddressString><PostCode>59053</PostCode> <Locality>&#1063;&#1077;&#1088;&#1085;&#1110;&#1074;&#1094;&#1110;</Locality> <LocalityType>&#1084;.</LocalityType> <Locality>&#1043;&#1086;&#1076;&#1080;&#1083;&#1110;&#1074;</Locality> <Street>&#1071;&#1088;&#1086;&#1096;&#1080;&#1085;&#1089;&#1100;&#1082;&#1072;</Street> <HouseNumber>5</HouseNumber> <ApartmentType>&#1082;&#1074;.</ApartmentType></AddressString>
643+
<AddressString><PostCode>59053</PostCode> <Locality>&#1063;&#1077;&#1088;&#1085;&#1110;&#1074;&#1094;&#1110;</Locality> <LocalityType>&#1084;.</LocalityType> <Locality>&#1043;&#1086;&#1076;&#1080;&#1083;&#1110;&#1074;</Locality> <Street>&#1050;&#1086;&#1085;&#1086;&#1074;&#1072;&#1083;&#1100;&#1094;&#1103;</Street> <Street>1-&#1081;</Street> <StreetType>&#1087;&#1088;</StreetType> <HouseNumber>1</HouseNumber> <ApartmentType>&#1082;&#1074;.</ApartmentType></AddressString>
644+
<AddressString><PostCode>34402</PostCode> <Region>&#1056;&#1110;&#1074;&#1085;&#1077;&#1085;&#1089;&#1100;&#1082;&#1072;</Region> <RegionType>&#1086;&#1073;&#1083;.</RegionType> <LocalityType>&#1084;.</LocalityType> <Locality>&#1050;&#1091;&#1079;&#1085;&#1077;&#1094;&#1086;&#1074;&#1089;&#1100;&#1082;</Locality> <StreetType>&#1084;&#1110;&#1082;&#1088;.</StreetType> <Street>&#1042;&#1072;&#1088;&#1072;&#1096;</Street> <HouseNumber>18</HouseNumber> <ApartmentType>&#1082;&#1074;.</ApartmentType> <Apartment>72</Apartment></AddressString>
625645
</AddressCollection>

uaddress/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,13 @@
7575
"пос", "пос.", "смт", "смт.", "с.м.т", "пгт", "п г т", "пгт.", "село", "селище", "поселок", "с-ще",
7676
# STREET
7777
"вул", "вул.", "вулиця", "ул", "ул.", "улица", "влу.", "в.", "вулю",
78-
"пров", "пров.", "провулок", "пер", "пер.", "переулок", "прос", "провул", "прв.", "перевуло",
78+
"пров", "пров.", "провулок", "пер", "пер.", "переулок", "прос", "провул", "прв.", "перевуло", "про",
7979
"бул", "бул.", "б-р", "бр", "бр.", "бур", "бур.", "бульвар", "бульв.", "бул-р.",
8080
"просп", "просп.", "прт", "прт.", "прокт", "прокт.", "пр", "пр.", "п-т", "п-т.", "п-рт.", "проспект", "п-т", "пр-кт", "пр-к",
8181
"ж\м" , "масив", "массив", "житловий масив", "жилой массив", "ж.м.",
8282
"ш.", "шосе", "шоссе",
8383
"алея", "аллея",
84-
"майд" ,"майд.", "майдан",
84+
"майд", "майд.", "майдан",
8585
"розвилка", "развилка",
8686
"узвіз", "спуск",
8787
"проїзд", "проезд",
@@ -276,5 +276,5 @@ def digits(token):
276276

277277
class RepeatedLabelError(probableparsing.RepeatedLabelError):
278278

279-
REPO_URL = 'https://github.com/martinjack/uaddress/issues/new'
279+
REPO_URL = 'https://github.com/RapidappsIT/uaddress/issues/new'
280280
DOCS_URL = ''

uaddress/uaddr.crfsuite

1.15 KB
Binary file not shown.

0 commit comments

Comments
 (0)