Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discrepancy Between Java libpostal and Python libpostal Results #650

Open
shlomishasho27 opened this issue Jan 14, 2024 · 4 comments
Open

Comments

@shlomishasho27
Copy link

shlomishasho27 commented Jan 14, 2024

Hey,

I encountered a discrepancy in the results obtained from the Java libpostal ("1.1-1.5.8" version) and the Python libpostal (postal==1.1.10). Specifically, when processing the address "33 elm st 5a" the outputs differ as follows:

Java libpostal result:
[{“key”: “house_number”, “value”: “33”}, {“key”: “road”, “value”: “elm st”}, {“key”: “house_number”, “value”: “5a”}]

Python libpostal result:
[{“key”: “house_number”, “value”: “33”}, {“key”: “road”, “value”: “elm st 5a”}]

I'm reaching out to seek clarification on this variance. Is this a version-related issue, and could you provide guidance on which Maven version corresponds to postal==1.1.10 in pip?

Thanks!

@shlomishasho27
Copy link
Author

@albarrentine @saudet FYI

@saudet
Copy link

saudet commented Jan 14, 2024

I don't see any version 1.1.10 so that's probably an unrelated fork of this project:
https://github.com/openvenues/libpostal/releases

@shlomishasho27
Copy link
Author

@saudet So do we want to use the 1.1 in pip? Is it equivelant to 1.1-1.5.8 in maven?

@matanzil
Copy link

matanzil commented Jan 15, 2024

@saudet Hi, no Python 1.1 version - only 1.0, 1.1.1, 1.1.2... which one as far as you know is equivalent to 1.1-1.5.8? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants