Debian Codegraph @

doc/source/reference/normalizers/normalizer_nfkc130.rst

raw
1 .. -*- rst -*-
2
3 .. groonga-command
4 .. database: normalisers
5
6 .. _normalizer-nfkc130:
7
8 ``NormalizerNFKC130``
9 =====================
10
11 .. deprecated:: 14.1.3
12
13 Use :doc:`./normalizer_nfkc` instead.
14
15 ``NormalizerNFKC130`` and ``NormalizerNFKC("version", "13.0.0")`` are equal.
16
17 Summary
18 -------
19
20 .. versionadded:: 10.0.9
21
22 ``NormalizerNFKC130`` normalizes text by Unicode NFKC (Normalization Form Compatibility Composition) for Unicode version 13.0.
23
24 This normalizer can change behavior by specifying options.
25
26 Syntax
27 ------
28
29 ``NormalizerNFKC130`` has optional parameter.
30
31 No options::
32
33 NormalizerNFKC130
34
35 ``NormalizerNFKC130`` normalizes text by Unicode NFKC (Normalization Form Compatibility Composition) for Unicode version 13.0.
36
37 Specify option::
38
39 NormalizerNFKC130("unify_kana", true)
40
41 NormalizerNFKC130("unify_kana_case", true)
42
43 NormalizerNFKC130("unify_kana_voiced_sound_mark", true)
44
45 NormalizerNFKC130("unify_hyphen", true)
46
47 NormalizerNFKC130("unify_prolonged_sound_mark", true)
48
49 NormalizerNFKC130("unify_hyphen_and_prolonged_sound_mark", true)
50
51 NormalizerNFKC130("unify_middle_dot", true)
52
53 NormalizerNFKC130("unify_katakana_v_sounds", true)
54
55 NormalizerNFKC130("unify_katakana_bu_sound", true)
56
57 NormalizerNFKC130("unify_to_romaji", true)
58
59 NormalizerNFKC130("remove_symbol", true)
60
61 NormalizerNFKC130("unify_katakana_di_sound", true)
62
63 NormalizerNFKC130("unify_katakana_wo_sound", true)
64
65 NormalizerNFKC130("unify_katakana_zu_small_sounds", true)
66
67 NormalizerNFKC130("unify_katakana_du_sound", true)
68
69 NormalizerNFKC130("unify_katakana_trailing_o", true)
70
71 NormalizerNFKC130("unify_katakana_du_small_sounds", true)
72
73 NormalizerNFKC130("unify_kana_prolonged_sound_mark", true)
74
75 NormalizerNFKC130("unify_kana_hyphen", true)
76
77 .. versionadded:: 13.0.0
78
79 :ref:`normalizer-nfkc130-unify-katakana-gu-small-sounds` is added.
80
81 :ref:`normalizer-nfkc130-unify-katakana-di-sound` is added.
82
83 :ref:`normalizer-nfkc130-unify-katakana-wo-sound` is added.
84
85 :ref:`normalizer-nfkc130-unify-katakana-zu-small-sounds` is added.
86
87 :ref:`normalizer-nfkc130-unify-katakana-du-sound` is added.
88
89 :ref:`normalizer-nfkc130-unify-katakana-trailing-o` is added.
90
91 :ref:`normalizer-nfkc130-unify-katakana-du-small-sounds` is added.
92
93 .. versionadded:: 13.0.1
94
95 :ref:`normalizer-nfkc130-unify-kana-prolonged-sound-mark` is added.
96
97 :ref:`normalizer-nfkc130-unify-kana-hyphen` is added.
98
99 Specify multiple options::
100
101 NormalizerNFKC130("unify_to_romaji", true, "unify_kana_case", true, "unify_hyphen_and_prolonged_sound_mark", true)
102
103 ``NormalizerNFKC130`` also specify multiple options as above. You can also specify mingle multiple options except above example.
104
105 Usage
106 -----
107
108 Simple usage
109 ^^^^^^^^^^^^
110
111 Here is an example of ``NormalizerNFKC130``. ``NormalizerNFKC130`` normalizes text by Unicode NFKC (Normalization Form Compatibility Composition) for Unicode version 13.0.
112
113 .. groonga-command
114 .. include:: ../../example/reference/normalizers/normalizer-nfkc130.log
115 .. normalize NormalizerNFKC130 "©" WITH_TYPES
116
117 Here is an example of :ref:`normalizer-nfkc130-unify-kana` option.
118
119 This option enables that same pronounced characters in all of full-width Hiragana, full-width Katakana and half-width Katakana are regarded as the same character as below.
120
121 .. groonga-command
122 .. include:: ../../example/reference/normalizers/normalizer-nfkc130-unify-kana.log
123 .. normalize 'NormalizerNFKC130("unify_kana", true)' "あイウェおヽヾ" WITH_TYPES
124
125 Here is an example of :ref:`normalizer-nfkc130-unify-kana-case` option.
126
127 This option enables that large and small versions of same letters in all of full-width Hiragana, full-width Katakana and half-width Katakana are regarded as the same character as below.
128
129 .. groonga-command
130 .. include:: ../../example/reference/normalizers/normalizer-nfkc130-unify-kana-case-hiragana.log
131 .. normalize 'NormalizerNFKC130("unify_kana_case", true)' "ぁあぃいぅうぇえぉおゃやゅゆょよゎわゕかゖけ" WITH_TYPES
132
133 .. groonga-command
134 .. include:: ../../example/reference/normalizers/normalizer-nfkc130-unify-kana-case-katakana.log
135 .. normalize 'NormalizerNFKC130("unify_kana_case", true)' "ァアィイゥウェエォオャヤュユョヨヮワヵカヶケ" WITH_TYPES
136
137 Here is an example of :ref:`normalizer-nfkc130-unify-kana-voiced-sound-mark` option.
138
139 This option enables that letters with/without voiced sound mark and semi voiced sound mark in all of full-width Hiragana, full-width Katakana and half-width Katakana are regarded as the same character as below.
140
141
142 .. groonga-command
143 .. include:: ../../example/reference/normalizers/normalizer-nfkc130-unify-voiced-sound-mark-hiragana.log
144 .. normalize 'NormalizerNFKC130("unify_kana_voiced_sound_mark", true)' "かがきぎくぐけげこごさざしじすずせぜそぞただちぢつづてでとどはばぱひびぴふぶぷへべぺほぼぽ" WITH_TYPES
145
146 .. groonga-command
147 .. include:: ../../example/reference/normalizers/normalizer-nfkc130-unify-voiced-sound-mark-katakana.log
148 .. normalize 'NormalizerNFKC130("unify_kana_voiced_sound_mark", true)' "カガキギクグケゲコゴサザシジスズセゼソゾタダチヂツヅテデトドハバパヒビピフブプヘベペホボポ" WITH_TYPES
149
150 Here is an example of :ref:`normalizer-nfkc130-unify-hyphen` option.
151 This option enables normalize hyphen to "-" (U+002D HYPHEN-MINUS) as below.
152
153 .. groonga-command
154 .. include:: ../../example/reference/normalizers/normalizer-nfkc130-unify-hyphen.log
155 .. normalize 'NormalizerNFKC130("unify_hyphen", true)' "-˗֊‐‑‒–⁃⁻₋−" WITH_TYPES
156
157 Here is an example of :ref:`normalizer-nfkc130-unify-prolonged-sound-mark` option.
158 This option enables normalize prolonged sound to "-" (U+30FC KATAKANA-HIRAGANA PROLONGED SOUND MARK) as below.
159
160 .. groonga-command
161 .. include:: ../../example/reference/normalizers/normalizer-nfkc130-unify-prolonged-sound-mark.log
162 .. normalize 'NormalizerNFKC130("unify_prolonged_sound_mark", true)' "ー—―─━ー" WITH_TYPES
163
164 Here is an example of :ref:`normalizer-nfkc130-unify-hyphen-and-prolonged-sound-mark` option.
165 This option enables normalize hyphen and prolonged sound to "-" (U+002D HYPHEN-MINUS) as below.
166
167 .. groonga-command
168 .. include:: ../../example/reference/normalizers/normalizer-nfkc130-unify-hyphen-and-prolonged-sound-mark.log
169 .. normalize 'NormalizerNFKC130("unify_hyphen_and_prolonged_sound_mark", true)' "-˗֊‐‑‒–⁃⁻₋− ﹣- ー—―─━ー" WITH_TYPES
170
171 Here is an example of :ref:`normalizer-nfkc130-unify-middle-dot` option.
172 This option enables normalize middle dot to "·" (U+00B7 MIDDLE DOT) as below.
173
174 .. groonga-command
175 .. include:: ../../example/reference/normalizers/normalizer-nfkc130-unify-middle-dot.log
176 .. normalize 'NormalizerNFKC130("unify_middle_dot", true)' "·ᐧ•∙⋅⸱・・" WITH_TYPES
177
178 Here is an example of :ref:`normalizer-nfkc130-unify-katakana-v-sounds` option.
179 This option enables normalize "ヴァヴィヴヴェヴォ" to "バビブベボ" as below.
180
181 .. groonga-command
182 .. include:: ../../example/reference/normalizers/normalizer-nfkc130-unify-katakana-v-sounds.log
183 .. normalize 'NormalizerNFKC130("unify_katakana_v_sounds", true)' "ヴァヴィヴヴェヴォヴ" WITH_TYPES
184
185 Here is an example of :ref:`normalizer-nfkc130-unify-katakana-bu-sounds` option.
186 This option enables normalize "ヴァヴィヴゥヴェヴォ" to "ブ" as below.
187
188 .. groonga-command
189 .. include:: ../../example/reference/normalizers/normalizer-nfkc130-unify-katakana-bu-sounds.log
190 .. normalize 'NormalizerNFKC130("unify_katakana_bu_sound", true)' "ヴァヴィヴヴェヴォヴ" WITH_TYPES
191
192 Here is an example of :ref:`normalizer-nfkc130-unify-to-romaji` option.
193 This option enables normalize hiragana and katakana to romaji as below.
194
195 .. groonga-command
196 .. include:: ../../example/reference/normalizers/normalizer-nfkc130-unify-to-romaji.log
197 .. normalize 'NormalizerNFKC130("unify_to_romaji", true)' "アァイィウゥエェオォ" WITH_TYPES
198
199 Here is an example of :ref:`normalizer-nfkc130-remove-symbol` option.
200 This option removes symbols (e.g. #, !, ", &, %, ...) as below.
201
202 .. groonga-command
203 .. include:: ../../example/reference/normalizers/normalizer-nfkc130-remove-symbol.log
204 .. normalize 'NormalizerNFKC130("remove_symbol", true)' "#This & is %% a pen." WITH_TYPES
205
206 Here is an example of :ref:`normalizer-nfkc130-unify-katakana-gu-small-sounds` option.
207 This option enables to normalize "グァグィグェグォ" to "ガギゲゴ" as below.
208
209 .. groonga-command
210 .. include:: ../../example/reference/normalizers/normalizer-nfkc130-katakana-gu-small-sounds.log
211 .. normalize 'NormalizerNFKC130("unify_katakana_gu_small_sounds", true)' "グァグィグェグォ" WITH_TYPES
212
213 Here is an example of :ref:`normalizer-nfkc130-unify-katakana-di-sound` option.
214 This option enables to normalize "ヂ" to "ジ" as below.
215
216 .. groonga-command
217 .. include:: ../../example/reference/normalizers/normalizer-nfkc130-unify-katakana-di-sound.log
218 .. normalize 'NormalizerNFKC130("unify_katakana_di_sound", true)' "ヂ" WITH_TYPES
219
220 Here is an example of :ref:`normalizer-nfkc130-unify-katakana-wo-sound` option.
221 This option enables to normalize "ヲ" to "オ" as below.
222
223 .. groonga-command
224 .. include:: ../../example/reference/normalizers/normalizer-nfkc130-unify-katakana-wo-sound.log
225 .. normalize 'NormalizerNFKC130("unify_katakana_wo_sound", true)' "ヲ" WITH_TYPES
226
227 Here is an example of :ref:`normalizer-nfkc130-unify-katakana-zu-small-sounds` option.
228 This option enables to normalize "ズァズィズェズォ" to "ザジゼゾ" as below.
229
230 .. groonga-command
231 .. include:: ../../example/reference/normalizers/normalizer-nfkc130-unify-katakana-zu-small-sounds.log
232 .. normalize 'NormalizerNFKC130("unify_katakana_zu_small_sounds", true)' "ズァズィズェズォ" WITH_TYPES
233
234 Here is an example of :ref:`normalizer-nfkc130-unify-katakana-du-sound` option.
235 This option enables to normalize "ヅ" to "ズ" as below.
236
237 .. groonga-command
238 .. include:: ../../example/reference/normalizers/normalizer-nfkc130-unify-katakana-du-sound.log
239 .. normalize 'NormalizerNFKC130("unify_katakana_du_sound", true)' "ヅ" WITH_TYPES
240
241 Here is an example of :ref:`normalizer-nfkc130-unify-katakana-trailing-o` option.
242 This option enables to normalize "オ" to "ウ" when the vowel in the previous letter is "オ" as below.
243
244 .. groonga-command
245 .. include:: ../../example/reference/normalizers/normalizer-nfkc130-unify-katakana-trailing-o.log
246 .. normalize 'NormalizerNFKC130("unify_katakana_trailing_o", true)' "オオコオソオトオノオ" WITH_TYPES
247
248 Here is an example of :ref:`normalizer-nfkc130-unify-katakana-du-small-sounds` option.
249 This option enables to normalize "ヅァヅィヅェヅォ" to "ザジゼゾ".
250
251 .. groonga-command
252 .. include:: ../../example/reference/normalizers/normalizer-nfkc130-unify-katakana-du-small-sounds.log
253 .. normalize 'NormalizerNFKC130("unify_katakana_du_small_sounds", true)' "ヅァヅィヅェヅォ" WITH_TYPES
254
255 Here is an example of :ref:`normalizer-nfkc130-unify-kana-prolonged-sound-mark` option.
256 This option enables to normalize "ー" (U+30FC KATAKANA-HIRAGANA PROLONGED SOUND MARK)
257 to a vowel of a previous kana letter.
258
259 If a previous kana letter is "ん" , "ー" is normalized to "ん",
260 And a previous kana letter is "ン" , "ー" is normalized to "ン".
261
262 .. groonga-command
263 .. include:: ../../example/reference/normalizers/normalizer-nfkc130-unify-kana-prolonged-sound-mark.log
264 .. normalize 'NormalizerNFKC130("unify_kana_prolonged_sound_mark", true)' "カーキークーケーコー" WITH_TYPES
265
266 Here is an example of :ref:`normalizer-nfkc130-unify-kana-hyphen` option.
267 This option enables to normalize "-" (U+002D HYPHEN-MINUS) to a vowel of a previous kana letter.
268
269 If a previous kana letter is "ん" , "-" is normalized to "ん",
270 And a previous kana letter is "ン" , "-" is normalized to "ン".
271
272 .. groonga-command
273 .. include:: ../../example/reference/normalizers/normalizer-nfkc130-unify-kana-hyphen.log
274 .. normalize 'NormalizerNFKC130("unify_kana_hyphen", true)' "カ-キ-ク-ケ-コ-" WITH_TYPES
275
276 Advanced usage
277 ^^^^^^^^^^^^^^
278
279 You can output romaji of specific a part of speech with using to combine
280 ``TokenMecab`` and ``NormalizerNFKC130`` as below.
281
282 First of all, you extract reading of a noun with excluding non-independent word and suffix of person name with ``target_class`` option and ``include_reading`` option.
283
284 Next, you normalize reading of the noun that extracted with ``unify_to_romaji`` option of ``NormalizerNFKC130``.
285
286 .. groonga-command
287 .. include:: ../../example/reference/normalizers/normalizer-nfkc130-unify-to-romaji-complex.log
288 .. tokenize 'TokenMecab("target_class", "-名詞/非自立", "target_class", "-名詞/接尾/人名", "target_class", "名詞", "include_reading", true)' '彼の名前は山田さんのはずです。'
289 .. normalize 'NormalizerNFKC130("unify_to_romaji", true)' "カレ" WITH_TYPES
290 .. normalize 'NormalizerNFKC130("unify_to_romaji", true)' "ナマエ" WITH_TYPES
291 .. normalize 'NormalizerNFKC130("unify_to_romaji", true)' "ヤマダ" WITH_TYPES
292
293 Parameters
294 ----------
295
296 Optional parameter
297 ^^^^^^^^^^^^^^^^^^
298
299 There are optional parameters as below.
300
301 .. _normalizer-nfkc130-unify-kana:
302
303 ``unify_kana``
304 """"""""""""""
305
306 This option enables that same pronounced characters in all of full-width Hiragana, full-width Katakana and half-width Katakana are regarded as the same character.
307
308 .. _normalizer-nfkc130-unify-kana-case:
309
310 ``unify_kana_case``
311 """""""""""""""""""
312
313 This option enables that large and small versions of same letters in all of full-width Hiragana, full-width Katakana and half-width Katakana are regarded as the same character.
314
315 .. _normalizer-nfkc130-unify-kana-voiced-sound-mark:
316
317 ``unify_kana_voiced_sound_mark``
318 """"""""""""""""""""""""""""""""
319
320 This option enables that letters with/without voiced sound mark and semi voiced sound mark in all of full-width Hiragana, full-width Katakana and half-width Katakana are regarded as the same character.
321
322 .. _normalizer-nfkc130-unify-hyphen:
323
324 ``unify_hyphen``
325 """"""""""""""""
326
327 This option enables normalize hyphen to "-" (U+002D HYPHEN-MINUS).
328
329 Hyphen of the target of normalizing is as below.
330
331 * "-" (U+002D HYPHEN-MINUS)
332 * "֊" (U+058A ARMENIAN HYPHEN)
333 * "˗" (U+02D7 MODIFIER LETTER MINUS SIGN)
334 * "‐" (U+2010 HYPHEN)
335 * "—" (U+2014 EM DASH)
336 * "⁃" (U+2043 HYPHEN BULLET)
337 * "⁻" (U+207B SUPERSCRIPT MINUS)
338 * "₋" (U+208B SUBSCRIPT MINUS)
339 * "−" (U+2212 MINUS SIGN)
340
341 .. _normalizer-nfkc130-unify-prolonged-sound-mark:
342
343 ``unify_prolonged_sound_mark``
344 """"""""""""""""""""""""""""""
345
346 This option enables normalize prolonged sound to "-" (U+30FC KATAKANA-HIRAGANA PROLONGED SOUND MARK).
347
348 Prolonged sound of the target of normalizing is as below.
349
350 * "—" (U+2014 EM DASH)
351 * "―" (U+2015 HORIZONTAL BAR)
352 * "─" (U+2500 BOX DRAWINGS LIGHT HORIZONTAL)
353 * "━" (U+2501 BOX DRAWINGS HEAVY HORIZONTAL)
354 * "ー" (U+30FC KATAKANA-HIRAGANA PROLONGED SOUND MARK)
355 * "ー" (U+FF70 HALFWIDTH KATAKANA-HIRAGANA PROLONGED SOUND MARK)
356
357 .. _normalizer-nfkc130-unify-hyphen-and-prolonged-sound-mark:
358
359 ``unify_hyphen_and_prolonged_sound_mark``
360 """""""""""""""""""""""""""""""""""""""""
361
362 This option enables normalize hyphen and prolonged sound to "-" (U+002D HYPHEN-MINUS).
363
364 Hyphen and prolonged sound of the target normalizing is below.
365
366 * "-" (U+002D HYPHEN-MINUS)
367 * "֊" (U+058A ARMENIAN HYPHEN)
368 * "˗" (U+02D7 MODIFIER LETTER MINUS SIGN)
369 * "‐" (U+2010 HYPHEN)
370 * "—" (U+2014 EM DASH)
371 * "⁃" (U+2043 HYPHEN BULLET)
372 * "⁻" (U+207B SUPERSCRIPT MINUS)
373 * "₋" (U+208B SUBSCRIPT MINUS)
374 * "−" (U+2212 MINUS SIGN)
375
376 * "—" (U+2014 EM DASH)
377 * "―" (U+2015 HORIZONTAL BAR)
378 * "─" (U+2500 BOX DRAWINGS LIGHT HORIZONTAL)
379 * "━" (U+2501 BOX DRAWINGS HEAVY HORIZONTAL)
380 * "ー" (U+30FC KATAKANA-HIRAGANA PROLONGED SOUND MARK)
381 * "ー" (U+FF70 HALFWIDTH KATAKANA-HIRAGANA PROLONGED SOUND MARK)
382
383 .. _normalizer-nfkc130-unify-middle-dot:
384
385 ``unify_middle_dot``
386 """"""""""""""""""""
387
388 This option enables normalize middle dot to "·" (U+00B7 MIDDLE DOT).
389
390 Middle dot of the target of normalizing is as below.
391
392 * "·" (U+00B7 MIDDLE DOT)
393 * "ᐧ" (U+1427 CANADIAN SYLLABICS FINAL MIDDLE DOT)
394 * "•" (U+2022 BULLET)
395 * "∙" (U+2219 BULLET OPERATOR)
396 * "⋅" (U+22C5 DOT OPERATOR)
397 * "⸱" (U+2E31 WORD SEPARATOR MIDDLE DOT)
398 * "・" (U+30FB KATAKANA MIDDLE DOT)
399 * "・" (U+FF65 HALFWIDTH KATAKANA MIDDLE DOT)
400
401 .. _normalizer-nfkc130-unify-katakana-v-sounds:
402
403 ``unify_katakana_v_sounds``
404 """""""""""""""""""""""""""
405
406 This option enables normalize "ヴァヴィヴヴェヴォ" to "バビブベボ".
407
408 .. _normalizer-nfkc130-unify-katakana-bu-sounds:
409
410 ``unify_katakana_bu_sound``
411 """""""""""""""""""""""""""
412
413 This option enables normalize "ヴァヴィヴゥヴェヴォ" to "ブ".
414
415 .. _normalizer-nfkc130-unify-to-romaji:
416
417 ``unify_to_romaji``
418 """""""""""""""""""
419
420 This option enables normalize hiragana and katakana to romaji.
421
422 .. _normalizer-nfkc130-remove-symbol:
423
424 ``remove_symbol``
425 """""""""""""""""
426
427 This option removes symbols (e.g. #, !, ", &, %, ...) from the string that the target of normalizing.
428
429 .. _normalizer-nfkc130-unify-katakana-gu-small-sounds:
430
431 ``unify_katakana_gu_small_sounds``
432 """"""""""""""""""""""""""""""""""
433
434 .. versionadded:: 13.0.0
435
436 This option enables to normalize "グァグィグェグォ" to "ガギゲゴ".
437
438 .. _normalizer-nfkc130-unify-katakana-di-sound:
439
440 ``unify_katakana_di_sound``
441 """""""""""""""""""""""""""
442
443 .. versionadded:: 13.0.0
444
445 This option enables to normalize "ヂ" to "ジ".
446
447 .. _normalizer-nfkc130-unify-katakana-wo-sound:
448
449 ``unify_katakana_wo_sound``
450 """""""""""""""""""""""""""
451
452 .. versionadded:: 13.0.0
453
454 This option enables to normalize "ヲ" to "オ".
455
456 .. _normalizer-nfkc130-unify-katakana-zu-small-sounds:
457
458 ``unify_katakana_zu_small_sounds``
459 """"""""""""""""""""""""""""""""""
460
461 .. versionadded:: 13.0.0
462
463 This option enables to normalize "ズァズィズェズォ" to "ザジゼゾ".
464
465 .. _normalizer-nfkc130-unify-katakana-du-sound:
466
467 ``unify_katakana_du_sound``
468 """""""""""""""""""""""""""
469
470 .. versionadded:: 13.0.0
471
472 This option enables to normalize "ヅ" to "ズ".
473
474 .. _normalizer-nfkc130-unify-katakana-trailing-o:
475
476 ``unify_katakana_trailing_o``
477 """""""""""""""""""""""""""""
478
479 .. versionadded:: 13.0.0
480
481 This option enables to normalize "オ" to "ウ"
482 when the vowel in the previous letter is "オ".
483
484 * "ォオ" -> "ォウ"
485 * "オオ" -> "オウ"
486 * "コオ" -> "コウ"
487 * "ソオ" -> "ソウ"
488 * "トオ" -> "トウ"
489 * "ノオ" -> "ノウ"
490 * "ホオ" -> "ホウ"
491 * "モオ" -> "モウ"
492 * "ョオ" -> "ョオ"
493 * "ヨオ" -> "ヨウ"
494 * "ロオ" -> "ロウ"
495 * "ゴオ" -> "ゴウ"
496 * "ゾオ" -> "ゾウ"
497 * "ドオ" -> "ドウ"
498 * "ボオ" -> "ボウ"
499 * "ポオ" -> "ポウ"
500 * "ヺオ" -> "ヺウ"
501
502 .. _normalizer-nfkc130-unify-katakana-du-small-sounds:
503
504 ``unify_katakana_du_small_sounds``
505 """"""""""""""""""""""""""""""""""
506
507 .. versionadded:: 13.0.0
508
509 This option enables to normalize "ヅァヅィヅェヅォ" to "ザジゼゾ".
510
511 .. _normalizer-nfkc130-unify-kana-prolonged-sound-mark:
512
513 ``unify_kana_prolonged_sound_mark``
514 """""""""""""""""""""""""""""""""""
515
516 .. versionadded:: 13.0.1
517
518 This option enables to normalize "ー" (U+30FC KATAKANA-HIRAGANA PROLONGED SOUND MARK)
519 to a vowel of a previous kana letter.
520
521 If a previous kana letter is "ん" , "ー" is normalized to "ん",
522 And a previous kana letter is "ン" , "ー" is normalized to "ン".
523
524 .. code-block::
525
526 ァー -> ァア, アー -> アア, ヵー -> ヵア, カー -> カア, ガー -> ガア, サー -> サア, ザー -> ザア,
527 ター -> タア, ダー -> ダア, ナー -> ナア, ハー -> ハア, バー -> バア, パー -> パア, マー -> マア,
528 ャー -> ャア, ヤー -> ヤア, ラー -> ラア, ヮー -> ヮア, ワー -> ワア, ヷー -> ヷア,
529 ィー -> ィイ, イー -> イイ, キー -> キイ, ギー -> ギイ, シー -> シイ, ジー -> ジイ, チー -> チイ,
530 ヂー -> ヂイ, ニー -> ニイ, ヒー -> ヒイ, ビー -> ビイ, ピー -> ピイ, ミー -> ミイ, リー -> リイ,
531 ヰー -> ヰイ, ヸー -> ヸイ,
532
533 ゥー -> ゥウ, ウー -> ウウ, クー -> クウ, グー -> グウ, スー -> スウ, ズー -> ズウ, ツー -> ツウ,
534 ヅー -> ヅウ, ヌー -> ヌウ, フー -> フウ, ブー -> ブウ, プー -> プウ, ムー -> ムウ, ュー -> ュウ,
535 ユー -> ユウ, ルー -> ルウ, ヱー -> ヱウ, ヴー -> ヴウ,
536
537 ェー -> ェエ, エー -> エエ, ヶー -> ヶエ, ケー -> ケエ, ゲー -> ゲエ, セー -> セエ, ゼー -> ゼエ,
538 テー -> テエ, デー -> デエ, ネー -> ネエ, ヘー -> ヘエ, ベー -> ベエ, ペー -> ペエ, メー -> メエ,
539 レー -> レエ, ヹー -> ヹエ,
540
541 ォー -> ォオ, オー -> オオ, コー -> コオ, ゴー -> ゴオ, ソー -> ソオ, ゾー -> ゾオ, トー -> トオ,
542 ドー -> ドオ, ノー -> ノオ, ホー -> ホオ, ボー -> ボオ, ポー -> ポオ, モー -> モオ, ョー -> ョオ,
543 ヨー -> ヨオ, ロー -> ロオ, ヲー -> ヲオ, ヺー -> ヺオ,
544
545 ンー -> ンン
546
547 ぁー -> ぁあ, あー -> ああ, ゕー -> ゕあ, かー -> かあ, がー -> があ, さー -> さあ, ざー -> ざあ,
548 たー -> たあ, だー -> だあ, なー -> なあ, はー -> はあ, ばー -> ばあ, ぱー -> ぱあ, まー -> まあ,
549 ゃー -> ゃあ, やー -> やあ, らー -> らあ, ゎー -> ゎあ, わー -> わあ
550
551 ぃー -> ぃい, いー -> いい, きー -> きい, ぎー -> ぎい, しー -> しい, じー -> じい, ちー -> ちい,
552 ぢー -> ぢい, にー -> にい, ひー -> ひい, びー -> びい, ぴー -> ぴい, みー -> みい, りー -> りい,
553 ゐー -> ゐい
554
555 ぅー -> ぅう, うー -> うう, くー -> くう, ぐー -> ぐう, すー -> すう, ずー -> ずう, つー -> つう,
556 づー -> づう, ぬー -> ぬう, ふー -> ふう, ぶー -> ぶう, ぷー -> ぷう, むー -> むう, ゅー -> ゅう,
557 ゆー -> ゆう, るー -> るう, ゑー -> ゑう, ゔー -> ゔう
558
559 ぇー -> ぇえ, えー -> ええ, ゖー -> ゖえ, けー -> けえ, げー -> げえ, せー -> せえ, ぜー -> ぜえ,
560 てー -> てえ, でー -> でえ, ねー -> ねえ, へー -> へえ, べー -> べえ, ぺー -> ぺえ, めー -> めえ,
561 れー -> れえ
562
563 ぉー -> ぉお, おー -> おお, こー -> こお, ごー -> ごお, そー -> そお, ぞー -> ぞお, とー -> とお,
564 どー -> どお, のー -> のお, ほー -> ほお, ぼー -> ぼお, ぽー -> ぽお, もー -> もお, ょー -> ょお,
565 よー -> よお, ろー -> ろお, をー -> をお
566
567 んー -> んん
568
569 .. _normalizer-nfkc130-unify-kana-hyphen:
570
571 ``unify_kana_hyphen``
572 """""""""""""""""""""
573
574 .. versionadded:: 13.0.1
575
576 This option enables to normalize "-" (U+002D HYPHEN-MINUS) to a vowel of a previous kana letter.
577
578 If a previous kana letter is "ん" , "-" is normalized to "ん",
579 And a previous kana letter is "ン" , "-" is normalized to "ン".
580
581 .. code-block::
582
583 ァ- -> ァア, ア- -> アア, ヵ- -> ヵア, カ- -> カア, ガ- -> ガア, サ- -> サア, ザ- -> ザア,
584 タ- -> タア, ダ- -> ダア, ナ- -> ナア, ハ- -> ハア, バ- -> バア, パ- -> パア, マ- -> マア,
585 ャ- -> ャア, ヤ- -> ヤア, ラ- -> ラア, ヮ- -> ヮア, ワ- -> ワア, ヷ- -> ヷア,
586 ィ- -> ィイ, イ- -> イイ, キ- -> キイ, ギ- -> ギイ, シ- -> シイ, ジ- -> ジイ, チ- -> チイ,
587 ヂ- -> ヂイ, ニ- -> ニイ, ヒ- -> ヒイ, ビ- -> ビイ, ピ- -> ピイ, ミ- -> ミイ, リ- -> リイ,
588 ヰ- -> ヰイ, ヸ- -> ヸイ,
589
590 ゥ- -> ゥウ, ウ- -> ウウ, ク- -> クウ, グ- -> グウ, ス- -> スウ, ズ- -> ズウ, ツ- -> ツウ,
591 ヅ- -> ヅウ, ヌ- -> ヌウ, フ- -> フウ, ブ- -> ブウ, プ- -> プウ, ム- -> ムウ, ュ- -> ュウ,
592 ユ- -> ユウ, ル- -> ルウ, ヱ- -> ヱウ, ヴ- -> ヴウ,
593
594 ェ- -> ェエ, エ- -> エエ, ヶ- -> ヶエ, ケ- -> ケエ, ゲ- -> ゲエ, セ- -> セエ, ゼ- -> ゼエ,
595 テ- -> テエ, デ- -> デエ, ネ- -> ネエ, ヘ- -> ヘエ, ベ- -> ベエ, ペ- -> ペエ, メ- -> メエ,
596 レ- -> レエ, ヹ- -> ヹエ,
597
598 ォ- -> ォオ, オ- -> オオ, コ- -> コオ, ゴ- -> ゴオ, ソ- -> ソオ, ゾ- -> ゾオ, ト- -> トオ,
599 ド- -> ドオ, ノ- -> ノオ, ホ- -> ホオ, ボ- -> ボオ, ポ- -> ポオ, モ- -> モオ, ョ- -> ョオ,
600 ヨ- -> ヨオ, ロ- -> ロオ, ヲ- -> ヲオ, ヺ- -> ヺオ,
601
602 ン- -> ンン
603
604 ぁ- -> ぁあ, あ- -> ああ, ゕ- -> ゕあ, か- -> かあ, が- -> があ, さ- -> さあ, ざ- -> ざあ,
605 た- -> たあ, だ- -> だあ, な- -> なあ, は- -> はあ, ば- -> ばあ, ぱ- -> ぱあ, ま- -> まあ,
606 ゃ- -> ゃあ, や- -> やあ, ら- -> らあ, ゎ- -> ゎあ, わ- -> わあ
607
608 ぃ- -> ぃい, い- -> いい, き- -> きい, ぎ- -> ぎい, し- -> しい, じ- -> じい, ち- -> ちい,
609 ぢ- -> ぢい, に- -> にい, ひ- -> ひい, び- -> びい, ぴ- -> ぴい, み- -> みい, り- -> りい,
610 ゐ- -> ゐい
611
612 ぅ- -> ぅう, う- -> うう, く- -> くう, ぐ- -> ぐう, す- -> すう, ず- -> ずう, つ- -> つう,
613 づ- -> づう, ぬ- -> ぬう, ふ- -> ふう, ぶ- -> ぶう, ぷ- -> ぷう, む- -> むう, ゅ- -> ゅう,
614 ゆ- -> ゆう, る- -> るう, ゑ- -> ゑう, ゔ- -> ゔう
615
616 ぇ- -> ぇえ, え- -> ええ, ゖ- -> ゖえ, け- -> けえ, げ- -> げえ, せ- -> せえ, ぜ- -> ぜえ,
617 て- -> てえ, で- -> でえ, ね- -> ねえ, へ- -> へえ, べ- -> べえ, ぺ- -> ぺえ, め- -> めえ,
618 れ- -> れえ
619
620 ぉ- -> ぉお, お- -> おお, こ- -> こお, ご- -> ごお, そ- -> そお, ぞ- -> ぞお, と- -> とお,
621 ど- -> どお, の- -> のお, ほ- -> ほお, ぼ- -> ぼお, ぽ- -> ぽお, も- -> もお, ょ- -> ょお,
622 よ- -> よお, ろ- -> ろお, を- -> をお
623
624 ん- -> んん
625
626 See also
627 ----------
628
629 * :doc:`../commands/normalize`