Skip to content

Commit

Permalink
Remove romaji section from README
Browse files Browse the repository at this point in the history
Romaji data is no longer provided.
  • Loading branch information
polm committed Jan 31, 2023
1 parent 2ce1e3e commit 9a61e2c
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,29 +98,6 @@ romaji (which are often not available anyway).

Yomigana are converted to full-width kana.

## Romaji

Romaji in the original file are in all caps. This is converted to title case.

The supplied romaji make no effort to accommodate words of foreign origin, so
"スウェーデンヒルズ" is rendered as "Suedenhiruzu" rather than "Sweden Hills".
It may be possible to improve on this but it's outside the scope of this
library; it's better to use a good romanization library, like [cutlet](https://github.com/polm/cutlet).

Some more issues:

- 1006890: "大手町 JAビル(地階・階層不明)" → "OTEMACHI JIEIEIBIRU(CHIKAI.KAISOFUM"
- JA → JIEIEI
- ```.`
- transliteration is randomly truncated, also not translated
- 1000004: "次のビルを除く" → "TSUGINOBIRUONOZOKU"

In general use the romaji here with caution.

sweden = posuto.get('0613777')
print(sweden.romaji)
# "Hokkaido, Ishikari Gun Tobetsu Cho, Suedenhiruzu"

## Long Neighborhood Names

The postal data README explains that when the neighborhood field is over 38
Expand Down

0 comments on commit 9a61e2c

Please sign in to comment.