Skip to content

Commit 8388873

Browse files
committed
Type fix and readme update
1 parent 096d957 commit 8388873

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ expand_address('Quatre vingt douze Ave des Champs-Élysées')
1414

1515
from postal.parser import parse_address
1616
parse_address('The Book Club 100-106 Leonard St, Shoreditch, London, Greater London, EC2A 4RH, United Kingdom')
17+
18+
from postal.lang_classifier import classify_lang_address
19+
classify_lang_address('Quatre vingt douze Ave des Champs-Élysées')
1720
```
1821

1922
Installation

postal/pylangclassifier.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ static PyObject *py_classify_lang_address(PyObject *self, PyObject *args, PyObje
4040
return NULL;
4141
}
4242

43-
libpostal_language_classifier_response_t *response = libpostal_classify_language(input);
43+
language_classifier_response_t *response = libpostal_classify_language(input);
4444

4545
if (response == NULL) {
4646
goto exit_free_input;

0 commit comments

Comments
 (0)