Skip to content

Conversation

@luizvbo
Copy link

@luizvbo luizvbo commented Dec 3, 2019

This PR adds a function to call the language classifier from libpostal (I made a PR in the libpostal repo as well to expose the functions needed for the method).
This functionality is very interesting given that it could be used as a feature for other types model.

@luizvbo
Copy link
Author

luizvbo commented Dec 4, 2019

Note: the pipeline is not passing because the project is missing an appveyor.yml file

@sbrugman
Copy link
Contributor

sbrugman commented Sep 3, 2020

@albarrentine Any thoughts on this PR?

Adding support for the language classifier is a desireable feature for pypostal so that Python users can access this functionality (Since pypostal contains the official bindings). We've been using a fork for a time now, would be great to be able to use the official package again. Can confirm that this PR works on Mac OS 10.15.6.

Small suggestion: add an example of the usage of the language classifier to the Readme.

return NULL;
}

libpostal_language_classifier_response_t *response = libpostal_classify_language(input);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

language_classifier_response_t is defined above, but here we use libpostal_language_classifier_response_t.

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

Successfully merging this pull request may close these issues.

2 participants