You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello Vlad! Congratulations for this amazing work, I really appreciate. However, I noticed that the parser has problems with some cases of French Canadian addresses.
Examples
This address doesn't parse at all
2545, rue De Lorimier, bureau 100, Longueuil, QC, J4K3P7
This one parse but the result is wrong, occupancy is set to None and city is set to bureau 100 Longueuil
2545, rue De Lorimier, bureau 100 Longueuil, QC, J4K3P7 {'full_address': '2545, rue De Lorimier, bureau 100 Longueuil, QC, J4K3P7, Canada', 'full_street': '2545, rue De Lorimier', 'street_number': '2545', 'street_type': 'rue', 'street_name': 'De Lorimier', 'route_id': None, 'post_direction': None, 'floor': None, 'building_id': None, 'occupancy': None, 'postal_box': None, 'city': 'bureau 100 Longueuil', 'region1': 'QC', 'postal_code': 'J4K3P7', 'country_id': 'CA'}
Here are some other examples of addresses that do not parse, but seem valid to me, probably because they contain hyphens, parenthesis or something else:
110-395 Rue des Érables, Salaberry-de-Valleyfield, QC, J6T6T5, Canada
1095 Rue de la Visitation, Saint-Charles-Borromée, QC, J6E0W7, Canada
461 Rue Dufferin, Salaberry-de-Valleyfield, QC, J6S2B3, Canada
@phicote im currently facing the same problem, have you found any solution to this?
Hello @ezzaimsoufiane, I haven't found a solution, but my knowledge of regular expressions has improved since that time and I might try to take a look. On the other hand, I do not offer any guarantee of success.
Hello @ezzaimsoufiane, I haven't found a solution, but my knowledge of regular expressions has improved since that time and I might try to take a look. On the other hand, I do not offer any guarantee of success.
@phicote would very much appreciate it, i'm trying to addapt this to adresses from France.
Hello Vlad! Congratulations for this amazing work, I really appreciate. However, I noticed that the parser has problems with some cases of French Canadian addresses.
Examples
This address doesn't parse at all
This one parse but the result is wrong, occupancy is set to None and city is set to bureau 100 Longueuil
{'full_address': '2545, rue De Lorimier, bureau 100 Longueuil, QC, J4K3P7, Canada', 'full_street': '2545, rue De Lorimier', 'street_number': '2545', 'street_type': 'rue', 'street_name': 'De Lorimier', 'route_id': None, 'post_direction': None, 'floor': None, 'building_id': None, 'occupancy': None, 'postal_box': None, 'city': 'bureau 100 Longueuil', 'region1': 'QC', 'postal_code': 'J4K3P7', 'country_id': 'CA'}
Here are some other examples of addresses that do not parse, but seem valid to me, probably because they contain hyphens, parenthesis or something else:
Could you please take a look? My knowledge of regular expressions is very limited
The text was updated successfully, but these errors were encountered: