Skip to content

Commit

Permalink
Merge pull request #568 from YuukiToriyama/notation-distortion/hida-city
Browse files Browse the repository at this point in the history
飛驒市の表記ゆれをrelease/v0.2.1にマージ
  • Loading branch information
YuukiToriyama authored Jan 4, 2025
2 parents 75422fe + df25be8 commit 86ee44a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/src/adapter/orthographical_variant_adapter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ pub enum OrthographicalVariant {
,
,
,
,
}

impl OrthographicalVariant {
Expand Down Expand Up @@ -80,6 +81,7 @@ impl OrthographicalVariant {
櫟 => &['櫟', '擽'],
冨 => &['冨', '富'],
諫 => &['諫', '諌'],
驒 => &['驒', '騨'],
}
}

Expand Down
1 change: 1 addition & 0 deletions core/src/tokenizer/read_city.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ impl Tokenizer<PrefectureNameFound> {
"宮城県" => vec![],
"茨城県" => vec![,],
"東京都" => vec![],
"岐阜県" => vec![],
"兵庫県" => vec![],
"高知県" => vec![],
"福岡県" => vec![],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ address,prefecture,city,town,rest
# 茨城県
茨城県鹿嶋市大字平井1187-1,茨城県,鹿嶋市,大字平井,1187-1
茨城県鹿島市大字平井1187-1,茨城県,鹿嶋市,大字平井,1187-1
# 岐阜県
岐阜県飛騨市宮川町塩屋104,岐阜県,飛騨市,宮川町塩屋,104
岐阜県飛驒市宮川町塩屋104,岐阜県,飛騨市,宮川町塩屋,104
# 兵庫県
兵庫県宝塚市売布東の町8-19,兵庫県,宝塚市,売布東の町,8-19
兵庫県宝塚市売布東の町8-19,兵庫県,宝塚市,売布東の町,8-19
Expand Down

0 comments on commit 86ee44a

Please sign in to comment.