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

Generate postcode.json #7

Open
wants to merge 47 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
ae7ea36
Generate `postcode.json` from mabuuchinh.vn api
daohoangson May 8, 2020
a2b1adc
Use transliterator and limit query to 45 characters.
daohoangson May 8, 2020
c8d063f
Use similar text calculation instead of simple string match
daohoangson May 9, 2020
5f9a4a0
Fix postcode range logic
daohoangson May 9, 2020
72dc2b6
Fix postcode result checks
daohoangson May 10, 2020
1ebad2b
Add support for `***00 - post office` results
daohoangson May 10, 2020
ce112ff
Use name without type
daohoangson May 10, 2020
d6c6c52
Append post office prefix for level2 search
daohoangson May 10, 2020
ac6451c
Rerun with updated verification api (with typo support).
daohoangson May 11, 2020
8c6e327
Use full entity data in `_request()`
daohoangson May 11, 2020
2087544
Set similarity threshold at 90% of `$namesSafe`
daohoangson May 11, 2020
1e2ef37
Use found name in unicode for verification
daohoangson May 11, 2020
c1425c7
Drop one similarity check.
daohoangson May 11, 2020
4064953
Update postcode incrementally
daohoangson May 12, 2020
257dc8b
Send a second request with full names
daohoangson May 12, 2020
beb64d7
[email protected]
daohoangson May 13, 2020
f5ba595
Fix type hint
daohoangson May 13, 2020
8fa8614
Merge branch 'postcode' into postcode-rerun/20200513
daohoangson May 13, 2020
2e67f5d
[email protected]
daohoangson May 13, 2020
3255615
Fix regex pattern for type to be case insensitive
daohoangson May 13, 2020
ec13b20
[email protected]
daohoangson May 13, 2020
13d7dc2
Skip adding post office prefix on full name query
daohoangson May 13, 2020
a0a6d6a
Avoid logging unicode characters
daohoangson May 13, 2020
9847638
Patch correct postcode for `Xã Bình Yên huyện Thạnh Thất thành phố Hà…
daohoangson May 13, 2020
45960ca
Avoid logging unicode characters.
daohoangson May 13, 2020
7e476b6
[email protected]
daohoangson May 13, 2020
a134b9f
01/06/2020
daohoangson May 14, 2020
bdc764a
Merge remote-tracking branch 'origin/update/20200601' into postcode
daohoangson May 14, 2020
e26ef03
[email protected]
daohoangson May 14, 2020
2beffaf
Only check the first 2 numbers for postcode prefix
daohoangson May 14, 2020
0fcb8a5
[email protected]
daohoangson May 14, 2020
a72e5f9
[email protected]
daohoangson May 14, 2020
056893e
Fix prefix check for level 1 (no prefix required).
daohoangson May 14, 2020
2495a5e
[email protected]
daohoangson May 15, 2020
bfe79fb
Revert "Use found name in unicode for verification"
daohoangson May 15, 2020
6cc131c
[email protected]
daohoangson May 15, 2020
95dd442
[email protected]
daohoangson May 15, 2020
3ccf77d
[email protected]
daohoangson May 15, 2020
eea64e3
Merge remote-tracking branch 'origin/master' into postcode
daohoangson May 15, 2020
be66768
Fix mixed up between safe and unsafe found name
daohoangson May 15, 2020
54ce276
[email protected]
daohoangson May 16, 2020
a7b7aee
Make use of `tree.json` for historical names searching
daohoangson May 16, 2020
8f31557
[email protected]
daohoangson May 16, 2020
942f968
Add blacklist
daohoangson May 17, 2020
1f4a46f
[email protected] -- need recheck
daohoangson May 17, 2020
6db5c3c
Merge remote-tracking branch 'origin/master' into postcode
daohoangson Sep 6, 2020
1343069
Use `dvhcvn.now.sh` domain
daohoangson Sep 6, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading