commitcomplete / cafe Goto Github PK
View Code? Open in Web Editor NEWCafe! - 빠르게 알아보는 가까운 카페
License: MIT License
Cafe! - 빠르게 알아보는 가까운 카페
License: MIT License
따라서 다른 방법을 찾아야 했다.
이중에서 2번을 선택한다.
원래의 의도로 보자면 첫번째 방법이 더 적합하겠지만 두번째 방법의 정확도가 얼마나 될지도 궁금하고 더 많은 전처리 과정이 필요해서 더 많이 배워갈수 있을것 같다.
애플에서 기본으로 제공하는 geocoding이 받아들이지 못하는 주소가 존재한다.
-> geocoding만 UnitTest한 결과 상세주소까지 들어가면 geocoding을 할 수 없다는 사실을 알아냄! (ex : ~빌딩 ~층)
-> 이를 제거하기 위해 주소를 공백 기준으로 분리하고 앞에서부터 5개까지만 받아서 주소로 받기로함
네이버 검색 api에서 제공하는 기본 api가 도출하는 주소 중에서 공백(_)없이 도출되는 주소가 존재한다.
-> 앞선 5개까지만 받는 과정에서 문제가 있었다.
-> 주소 문자열을 나누고 합치는 과정에서 공백으로 나눈 문자 배열의 개수가 5개보다 많으면 5개까지 합쳐서 반환하는데, 이때 공백을 추가하지 않은것!
-> 나눈 문자열의 개수가 5개보다 작으나 상세주소를 포함하는 경우가 있었다.
-> 한국의 주소체계를 살펴보니 번지나 건물번호로 숫자로 끝나는 부분이 존재하고 이 부분 다음부터는 상세주소로 들어감을 확인
-> 공백으로 나눈 문자열을 숫자가 있는 부분까지만 사용할수 있도록 전처리
-> 해결!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.