Giter Site home page Giter Site logo

japanese_address_parser's Introduction

Twitter: yamat47 Visitors

GitHub Stats

Top Langs

japanese_address_parser's People

Contributors

champierre avatar dependabot[bot] avatar github-actions[bot] avatar takatea avatar yamat47 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

japanese_address_parser's Issues

町域を前方一致で探索するのをやめる。

あまり直感的ではない一致の仕方をしてしまうことがあるので。

元々は長野県の県庁所在地の解析をするための対応だった。
こちらを特例として特殊対応する方針にする。

geolonia/japanese-addresses が提供している最新の CSV ファイルに追随していない

geolonia/japanese-addresses が提供している最新の CSV ファイルに追随していないようです。
たとえば、

geolonia/japanese-addresses#118

で issue に挙がっていた「福島県東白川郡矢祭町」のローマ字表記がデモサイトでは、「HIGASHISHIRAKAWA GUN YAMATSURI MACH」(MACH -> MACHI でないといけない)になっています。これは最新の latest.csv では修正済みです。

japanese-addresses で提供する CSV ファイルは、issues に挙がってくる問題を修正したり、ほかにも国土地理協会が提供する地名変更情報を取り込んだりと、毎月更新しているので、できれば、更新があったときに japanese_address_parser も更新される仕組みがあると望ましいと思います。

町丁目がない住所データに対して誤ったふりがなデータが返ってくる

町丁目がない住所データに対して、以下のように誤ったふりがなデータが返ってくる。

[1] pry(main)> JapaneseAddressParser.call('富山県滑川市1-1').furigana
=> "トヤマケンナメリカワシアカハマ"
[3] pry(main)> JapaneseAddressParser.call('東京都調布市1-1').furigana
=> "トウキョウトチョウフシコクリョウチョウ"
[4] pry(main)> JapaneseAddressParser.call('東京都三鷹市1-1').furigana
=> "トウキョウトミタカシキタノ 4"

処理の効率を上げたい

Schmoozeを使うようになり、明らかに処理にかかる時間が延びた。

何かしらの方法で、パフォーマンス改善をしたい。
キャッシュ? トランスパイル? 独自実装?

「愛知県名古屋市中村区名駅1-1-10」のふりがなデータが正しくない。

pry(main)> JapaneseAddressParser.call('愛知県名古屋市中村区名駅1-1-10').furigana => "アイチケンナゴヤシナカムラクメイエキ(1-1-8、1-1-12、1-1-13、1-1-14、1-3-4、 1"

「愛知県名古屋市中村区名駅1-1-10」のふりがなデータが正しくない。
「アイチケンナゴヤシナカムラクメイエキ 1」と返してほしい。

「full_address」メソッドの使用例コメントが実際の結果と異なっている

Actual実行結果が正しいと思うので、READMEを修正するPRを作成いたします!

Expected

address = JapaneseAddressParser.call('東京都港区芝公園4-2-8')
address.full_address #=> "東京都港区芝公園4-2-8"

Actual

address = JapaneseAddressParser.call('東京都港区芝公園4-2-8')
address.full_address #=> "東京都港区芝公園四丁目"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.