中の技術日誌ブログ

C#とC++/CLIと
VBと.NETとWindowsで戯れる
 

目次

Blog 利用状況

ニュース

自己紹介

東京でソフトウェアエンジニアをやっています。
お仕事大募集中です。
記事執筆や、講師依頼とかでも何でもどうぞ(*^_^*)
似顔絵 MSMVPロゴ
MSMVP Visual C# Since 2004/04-2013/03

記事カテゴリ

書庫

日記カテゴリ

00-整理

01-MSMVP

清音化と大字化

どうにもこの業界では知っておかなければいけない常識なのにGoogleなどで引っかからないようなので、あえて書いておく。

清音化とは所謂半角カナの中から濁音、半濁音を除去したものです。

半角カナ清音化用辞書.Add("゙", "");
半角カナ清音化用辞書.Add("゚", "");

これをすることにより、所謂半角カナの中にある清濁のゆれを除去します。

次に大字化は、

半角カナ大字化用辞書.Add("ッ", "ツ");
半角カナ大字化用辞書.Add("ァ", "ア");
半角カナ大字化用辞書.Add("ィ", "イ");
半角カナ大字化用辞書.Add("ゥ", "ウ");
半角カナ大字化用辞書.Add("ェ", "エ");
半角カナ大字化用辞書.Add("ォ", "オ");
半角カナ大字化用辞書.Add("ャ", "ヤ");
半角カナ大字化用辞書.Add("ュ", "ユ");
半角カナ大字化用辞書.Add("ョ", "ヨ");

これらの拗音、促音のゆれを除去します。

これらを組み合わせることが最も多く、次に多いのは清音化を行わずに大字化だけ行うというパターンです。

両方組み合わせると以下のような感じになります。

ウィンドウズ→ウイントウス

ここでは所謂半角だけを取り上げましたが、所謂全角の場合には少し対象になる文字が変わってきます。

カナとかなの両方をどうするかも考慮しなければいけません。

半濁音の範囲も広がり、"か゜orか?"や"う゛orヴ"のような濁音などは単独文字の場合もあれば結合文字の場合もあります。

文字も増えます。

文字が出ないと思うので、絵で

image

これらの文字をどう扱うかなどを考える必要があります。

さてここまで見てきたこれらの処理は一体何に使うのでしょうか。

一般的には送り仮名のさらに検索用として内部的に保持する場合によくつかわれます。

検索するときに語の揺れをできるだけ丸めて検索精度を上げようというインターネット時代の辞書化して、揺らぎなども吸収して検索できるようにしようという考えとは全く違う考え方に基づきます。

インターネット時代の検索方法はかなりコストの高い方法で、なかなか一般のシステムにそのまま取り入れる時代は来ていません。

現在のシステム開発ではまだまだ有用なテクニックなので必ず覚えておきましょう。

投稿日時 : 2008年4月20日 9:45

コメントを追加

# re: 清音化と大字化 2008/04/20 9:46 中博俊

ゐゑが2回出てきてる(^^;;;;

# re: 清音化と大字化 2016/03/08 21:29 なるほど

仕事で切羽詰まって、これ見つけて参考になりました☆
まだまだ有用です。
ありがとうございます!

# how to buy doxycycline online https://doxycyline1st.com/
doxycycline 100mg capsules 2022/02/26 9:16 Jusidkid

how to buy doxycycline online https://doxycyline1st.com/
doxycycline 100mg capsules

# clomid coupons http://clomidus.store/ 2022/04/12 12:32 Clomids

clomid coupons http://clomidus.store/

# buying prednisone https://prednisoneus.shop/ 2022/04/16 22:26 Prednisone

buying prednisone https://prednisoneus.shop/

# lasix furosemide https://buylasix.icu/
furosemida 40 mg 2022/06/24 16:45 LasixRx

lasix furosemide https://buylasix.icu/
furosemida 40 mg

# ivermectin sheep wormer https://stromectolbestprice.com/ 2022/07/30 0:07 BestPrice

ivermectin sheep wormer https://stromectolbestprice.com/

# canadian drug: https://medrxfast.com/ 2022/08/03 18:43 MedsRxFast

canadian drug: https://medrxfast.com/

# metformin 500mg tablets in india https://glucophage.top/
metformin tablets in india 2022/08/23 7:29 Niujsdkj

metformin 500mg tablets in india https://glucophage.top/
metformin tablets in india

# cure ed https://ed-pills.xyz/
best ed pills at gnc 2022/09/15 18:52 EdPills

cure ed https://ed-pills.xyz/
best ed pills at gnc

# best ed pills at gnc https://ed-pills.xyz/
natural ed medications 2022/09/16 7:13 EdPills

best ed pills at gnc https://ed-pills.xyz/
natural ed medications

# buy generic doxycycline https://buydoxycycline.icu/ 2022/10/08 11:42 Doxycycline

buy generic doxycycline https://buydoxycycline.icu/

# ed pills online https://cheapestedpills.com/
best erectile dysfunction pills 2022/12/10 16:15 CheapPills

ed pills online https://cheapestedpills.com/
best erectile dysfunction pills

# ed pills that really work https://edpills.science/
non prescription ed pills 2023/01/07 8:31 Edpills

ed pills that really work https://edpills.science/
non prescription ed pills

# Actual trends of drug. Drug information.
https://canadianfast.com/
Long-Term Effects. Get information now. 2023/02/19 7:45 CanadaBest

Actual trends of drug. Drug information.
https://canadianfast.com/
Long-Term Effects. Get information now.

# prednisone 20 mg in india - https://prednisonesale.pro/# 2023/04/22 4:39 Prednisone

prednisone 20 mg in india - https://prednisonesale.pro/#

# erection pills that work https://edpill.pro/# - natural remedies for ed 2023/06/27 14:48 EdPills

erection pills that work https://edpill.pro/# - natural remedies for ed

# paxlovid cost without insurance https://paxlovid.pro/# - paxlovid generic 2023/07/02 17:19 Paxlovid

paxlovid cost without insurance https://paxlovid.pro/# - paxlovid generic

# paxlovid pill https://paxlovid.store/
Paxlovid buy online 2023/07/13 13:14 Paxlovid

paxlovid pill https://paxlovid.store/
Paxlovid buy online

# paxlovid india https://paxlovid.life/# paxlovid generic 2023/07/25 20:34 Paxlovid

paxlovid india https://paxlovid.life/# paxlovid generic

# buy cytotec pills online cheap https://cytotec.ink/# - Misoprostol 200 mg buy online 2023/07/26 14:29 PillsFree

buy cytotec pills online cheap https://cytotec.ink/# - Misoprostol 200 mg buy online

# mens erection pills https://edpills.ink/# - best erection pills 2023/07/27 1:08 EdPills

mens erection pills https://edpills.ink/# - best erection pills

# singles site 2023/08/09 13:47 WayneGurry

best dating online website: http://datingtopreview.com/# - flirting dating site

# order cytotec online 2023/08/28 12:45 Georgejep

http://misoprostol.guru/# cytotec pills buy online

# acquistare farmaci senza ricetta 2023/09/25 11:07 Archieonelf

https://farmaciaonline.men/# migliori farmacie online 2023

# online apotheke deutschland 2023/09/26 13:07 Williamreomo

https://onlineapotheke.tech/# online apotheke preisvergleich
online apotheke gГ?nstig

# gГјnstige online apotheke 2023/09/26 15:03 Williamreomo

https://onlineapotheke.tech/# online apotheke preisvergleich
online apotheke deutschland

# online apotheke gГјnstig 2023/09/27 0:57 Williamreomo

https://onlineapotheke.tech/# online apotheke deutschland
gГ?nstige online apotheke

# versandapotheke 2023/09/27 3:23 Williamreomo

https://onlineapotheke.tech/# online apotheke preisvergleich
versandapotheke

# internet apotheke 2023/09/27 4:44 Williamreomo

https://onlineapotheke.tech/# online apotheke gГ?nstig
п»?online apotheke

# versandapotheke deutschland 2023/09/27 6:48 Williamreomo

https://onlineapotheke.tech/# online apotheke gГ?nstig
versandapotheke deutschland

# п»їonline apotheke 2023/09/27 11:18 Williamreomo

https://onlineapotheke.tech/# online apotheke gГ?nstig
versandapotheke

# п»їonline apotheke 2023/09/27 12:50 Williamreomo

http://onlineapotheke.tech/# online apotheke versandkostenfrei
internet apotheke

# farmacia online migliore 2023/09/27 20:43 Rickeyrof

acheter sildenafil 100mg sans ordonnance

# rx mexico online 2023/10/16 18:52 Dannyhealm

п»?Exceptional service every time! https://mexicanpharmonline.shop/# reputable mexican pharmacies online

# canadian rx 2023/10/16 19:13 Dannyhealm

They have strong partnerships with pharmacies around the world. http://mexicanpharmonline.com/# pharmacies in mexico that ship to usa

# canadian pharmacies that deliver to the us 2023/10/17 9:06 Dannyhealm

The staff ensures a seamless experience every time. http://mexicanpharmonline.shop/# reputable mexican pharmacies online

# how to get a prescription in canada 2023/10/17 15:55 Dannyhealm

Generic Name. https://mexicanpharmonline.com/# reputable mexican pharmacies online

# mail order canada 2023/10/17 20:58 Dannyhealm

They bridge the gap between countries with their service. http://mexicanpharmonline.com/# mexican rx online

# no rx meds 2023/10/17 22:41 Dannyhealm

Their pharmacists are top-notch; highly trained and personable. https://mexicanpharmonline.com/# pharmacies in mexico that ship to usa

# canada pharmcy 2023/10/18 0:23 Dannyhealm

The best in town, without a doubt. https://mexicanpharmonline.shop/# mexico drug stores pharmacies

# medications online without prescriptions 2023/10/18 10:11 Dannyhealm

Their online portal is user-friendly and intuitive. https://mexicanpharmonline.shop/# mexico drug stores pharmacies

# canadianrx 2023/10/18 10:45 Dannyhealm

Been relying on them for years, and they never disappoint. http://mexicanpharmonline.com/# mexican mail order pharmacies

# order valtrex online canada https://valtrex.auction/ valtrex over the counter canada 2023/10/24 22:25 Valtrex

order valtrex online canada https://valtrex.auction/ valtrex over the counter canada

# doxycycline 50 mg https://doxycycline.forum/ doxycycline 500mg 2023/11/25 13:28 Doxycycline

doxycycline 50 mg https://doxycycline.forum/ doxycycline 500mg

# paxlovid covid 2023/12/01 3:17 Mathewhip

buy paxlovid online https://paxlovid.club/# paxlovid

# farmacia online madrid 2023/12/07 22:53 RonnieCag

http://tadalafilo.pro/# farmacia envíos internacionales

# farmacias online baratas 2023/12/08 2:04 RonnieCag

https://vardenafilo.icu/# farmacia online 24 horas

# farmacia 24h 2023/12/08 16:32 RonnieCag

http://farmacia.best/# farmacias online baratas

# farmacias online seguras en españa 2023/12/09 14:07 RonnieCag

http://vardenafilo.icu/# farmacia envíos internacionales

# farmacia online envío gratis 2023/12/09 17:13 RonnieCag

http://vardenafilo.icu/# farmacias online baratas

# farmacias online seguras en españa 2023/12/09 20:38 RonnieCag

https://tadalafilo.pro/# farmacia online barata

# farmacias baratas online envío gratis 2023/12/10 3:31 RonnieCag

http://sildenafilo.store/# sildenafilo 50 mg precio sin receta

# farmacia online envío gratis 2023/12/11 3:37 RonnieCag

https://vardenafilo.icu/# farmacia online barata

# farmacias baratas online envío gratis 2023/12/11 12:33 RonnieCag

https://sildenafilo.store/# se puede comprar sildenafil sin receta

# farmacia envíos internacionales 2023/12/11 18:51 RonnieCag

https://farmacia.best/# farmacia barata

# farmacias baratas online envío gratis 2023/12/11 22:10 RonnieCag

https://tadalafilo.pro/# farmacia 24h

# farmacias baratas online envío gratis 2023/12/12 17:32 RonnieCag

http://farmacia.best/# farmacia online barata

# ï»¿farmacia online 2023/12/13 4:11 RonnieCag

http://farmacia.best/# farmacia 24h

# Pharmacie en ligne France 2023/12/14 0:13 Larryedump

https://pharmacieenligne.guru/# Pharmacies en ligne certifiées

# pharmacie ouverte 24/24 2023/12/16 5:13 Larryedump

https://pharmacieenligne.guru/# Pharmacie en ligne livraison 24h

タイトル
名前
URL
コメント