Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Japanese Address Munger

License

NotificationsYou must be signed in to change notification settings

alvations/yubin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Converts Japanese address in raw string to structured object.

Install

pipinstall-Uyubin

Usage

>>>fromyubinimportPostman>>>pm=Postman()# Returns structured object.>>>pm.tokenize('〒158-0094東京都世田谷区玉川一丁目14番1号')Address(to=['東京都'],kai=[],ku=['世田谷区'],mune=[],chome=['一丁目'],ban=['14番'],go=['1号'],postal=['〒158-0094'],endgo=[],tokens=['〒158-0094','東京都','世田谷区','玉川','一丁目','14番','1号'])# Return tokenized string, split by space.>>>pm.tokenize('〒158-0094東京都世田谷区玉川一丁目14番1号',return_str=True)'〒158-0094 東京都 世田谷区 玉川 一丁目 14番 1号'

About

Japanese Address Munger

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp