# NAME AozoraBunko::Checkerkun - ��垍征���澈�桀極雿𨅯摱�柴�麄���格���𨰜���扼���怒�潘���頣�𡁶�𣂼�擧筒嚗剹�鉝�押�扎�硔�押�芸�硔�𨰜�麄���� # SYNOPSIS use AozoraBunko::Checkerkun; use utf8; my $checker1 = AozoraBunko::Checkerkun->new; $checker1->check('璉栽�鳴撒嚗����嚗钅野�溻��蝚�3瘞湔��1-94-69嚗賢�𤆵���'); # => '璉栽�鳴撒嚗����嚗钅野�溻��蝚�3瘞湔��1-94-69嚗賤�𤄏78hosetsu_tekiyo]�鞾�汿�穃�𤆵��㛓gaiji]' $checker1->check('璉桅�堒��'); # => '璉桅�鋥gaiji]憭�' $checker1->check('璉桅�𤾸��'); # => '璉桅�𤾸��' my $checker2 = AozoraBunko::Checkerkun->new({ output_format => 'html', gonin1 => 1, gonin2 => 1, gonin3 => 1 }); $checker2->check('獢��𨰻�瓐�峕��鍦�𨳍�𨰜�麄��'); # => '<span data-checkerkun-tag="gonin3" data-checkerkun-message="�卝�扎��">獢�</span>�𨰻�瓐��<span data-checkerkun-tag="gonin3" data-checkerkun-message="�胯�𨰜��">��</span>�鍦�𨳍�𨰜�麄��' my $checker3 = AozoraBunko::Checkerkun->new({ kouetsukun => 1 }); $checker3->check('�鱓�𨰻��'); # => '�䲰�鱓�緾蝐婙魿�𨰻��' # DESCRIPTION AozoraBunko::Checkerkun �胯����垍征���澈撌乩�𨅯摱�柴�麄���格���𨰜���扼���怒�潦�扼��蝯𣂼�擧筒瘞譌�䔶�𨀣�僐�𨰜�麄�嫘�胯�芥�𨰜���垍��䎚�押�扎�硔�押�芸�硔�𨰜�麄���柴�扼�踺�� 憭折�舘�𨰻�餌�𣂼�擧筒�颯�潦�𨰻�~�潛�麄�桀�瘞譌�怒���𧢲唂摮𦯀�梶蔭��𥕦虾�賬���扼���怒�潦�峕嵗�魿��䜘�溻���瓐�柴�押�扎�硔�押�芥�怎��輯噯�整�䎚�艾���整�踺�� # METHODS ## $checker = AozoraBunko::Checkerkun->new(\\%option) �鰵�𨰜�� AozoraBunko::Checkerkun �扎�喋�嫘�踴�喋�嫘�垍���僐�𨰜�整�踺�� my $checker = AozoraBunko::Checkerkun->new( 'gaiji' => 1, # JIS憭硋�𨰜�鉝���扼���胯�踺�� 'hansp' => 1, # ��𡃏�鉝�嫘�𠾼�潦�嫘�鉝���扼���胯�踺�� 'hanpar' => 1, # ��𡃏�鉝�怒���喋�鉝���扼���胯�踺�� 'zensp' => 0, # �刻�鉝�嫘�𠾼�潦�嫘�鉝���扼���胯�踺�� 'zentilde' => 1, # �刻�鉝���怒���鉝���扼���胯�踺�� '78hosetsu_tekiyo' => 1, # 78鈭埝�𥕦����桀紋鞊~�具�芥�衤�滩��芸�硋�埈釣閮塩�鉝���扼���胯�踺�� 'hosetsu_tekiyo' => 1, # �����桀紋鞊~�具�芥�衤�滩��芸�硋�埈釣閮塩�鉝���扼���胯�踺�� '78' => 0, # 78鈭埝�𥕦���29摮𨰜�鉝���扼���胯�踺�� 'jyogai' => 0, # �鰵JIS瞍W�𨰜�批���閬𤩺�硔�桅�拍鍂�膄憭硔�具�芥��104摮𨰜�鉝���扼���胯�踺�� 'gonin1' => 0, # 隤方�溻�𨰜���踺������𨰜�鉝���扼���胯�踺��(1) 'gonin2' => 0, # 隤方�溻�𨰜���踺������𨰜�鉝���扼���胯�踺��(2) 'gonin3' => 0, # 隤方�溻�𨰜���踺������𨰜�鉝���扼���胯�踺��(3) 'simplesp' => 0, # ��𡃏�鉝�嫘�𠾼�潦�嫘�胯�𪊺�溻�扼���刻�鉝�嫘�𠾼�潦�嫘�胯�𢞖𡓨�溻�批枂��䜘�踺�� 'kouetsukun' => 0, # �唂摮𦯀�梶蔭��𥕦虾�賬���扼���怒�潦�峕嵗�魿��䜘�溻�埝�匧䎺�怒�踺�页�átml�枂��𥟇��� kyuji �� itaiji �柴���扼���怒�澆�䜘�踴�唳���𥼚�䔶�塩�溻�整�踺��嚗� 'output_format' => 'plaintext', # �枂��䜘�𨰻�押�潦�𠺶�����īlaintext �整�麄�� html嚗� ); 銝𡃏�塩�柴�喋�潦�剹�扯身摰𠾼�𨰻�䎚�艾���见�扎�䎚���𨰻�押�怒���扎�扼�踺�� ## $checked\_text = $checker->check($text) new �扳���𠾼�𨰜�麄�芥�𨰜�瑯�扼�喋�扼���准�嫘���鉝���扼���胯�𨰜�整�踺�����𠰴�扎�胯���扼���臬�䎚�柴���准�嫘���扼�踺�� # 蝘䀝�腈�柴�踴�穿�����𨰜���扼���舐鍂�譌���瑯�乓�芥�𨰻�~�研�喋�對�剹�詻�柴�U�胯�颯�� �瓐�柴�U�詻�乓�潦�怒�� use �踺�卝�其誑銝卝�格���𨰜���扼���舐鍂�譌���瑯�乓�芥�𨰻�~�研�喋�嫘�詻�U�胯�颯�孵虾�賬�怒�芥�𨳍�整�踺�� # 78鈭埝�𥕦����桀紋鞊~�具�芥�衤�滩��芸�硋�埈釣閮塩�鉝���扼���胯�踺�� $AozoraBunko::Checkerkun::KUTENMEN_78HOSETSU_TEKIYO; # �����桀紋鞊~�具�芥�衤�滩��芸�硋�埈釣閮塩�鉝���扼���胯�踺�� $AozoraBunko::Checkerkun::KUTENMEN_HOSETSU_TEKIYO; # �鰵JIS瞍W�𨰜�批����抅皞硔�桅�拍鍂�膄憭硔�具�芥��104摮� $AozoraBunko::Checkerkun::JYOGAI; # 78鈭埝�𥟇���� $AozoraBunko::Checkerkun::J78; # 隤方��1 # ��㯄�𨰻�����踺������� # �卝�具���卝�𨳍�𨳍�𨰻�瓐�柴�諹炊隤滩�塩�𨰻�䎚���踺������𨰜�芥�嫘���溻�卝�� # http://plaza.users.to/katokao/digipr/digipr_charlist.html $AozoraBunko::Checkerkun::GONIN1; # 隤方��2 $AozoraBunko::Checkerkun::GONIN2; # 隤方��3 # 嚗���聦皜����𨰻�瓐�桀�亙�䜘�怒���页�� $AozoraBunko::Checkerkun::GONIN3; # �鰵摮𦯀�瓐�餅唂摮𦯀�枏紋敹栶�芥�嫘�� $AozoraBunko::Checkerkun::KYUJI; # �㺭雿枏�� $AozoraBunko::Checkerkun::ITAIJI; # 蝘䀝�腈�柴�踴�研�鍦�烾�譌�𨰻�䜘�麄�� �𤓖摮僐�~�潦�怒�� github �扯���䜘�鍦�𨰜�睲�塩�㻫�艾�𨳍�𨳍�整�踺�� # SEE ALSO [Net::AozoraBunko](https://metacpan.org/pod/Net::AozoraBunko) [�𧋦�押�扎�硔�押�芥�垍鍂����鰵�𨰜�����扼���怒�澆�𢬿(http://chobitool.com/checkerkun/) [��垍征���澈雿𨀣平�𠺶�卝�乓�U�怒�𣂼�亙�𤤿楊�𩬅(http://www.aozora.gr.jp/aozora-manual/index-input.html) [���扼���怒�澆�𢬿(http://www.aozora.jp/tools/checker.cgi) [憭硋�㻩(http://www.aozora.gr.jp/annotation/external_character.html) [瘜U�����瑯�� - Wikipedia](https://ja.wikipedia.org/wiki/%E6%B3%A2%E3%83%80%E3%83%83%E3%82%B7%E3%83%A5#Unicode.E3.81.AB.E9.96.A2.E9.80.A3.E3.81.99.E3.82.8B.E5.95.8F.E9.A1.8C) [���� (����𨰜�喋�潦��) - Wikipedia](https://ja.wikipedia.org/wiki/%E5%8C%85%E6%91%82_\(%E6%96%87%E5%AD%97%E3%82%B3%E3%83%BC%E3%83%89\)) [JIS瞍W�𨰜�批����格胶�����剹�譌�𧢲���梹�Ě[78\] \[jyogai\] �芥�抬�处(http://www.aozora.gr.jp/newJIS-Kanji/gokan_henkou_list.html) [�嵗�魿��䜘�雴蝙���艾�踴����](http://www.aozora.gr.jp/tools/kouetsukun/online_kouetsukun.html) [Embedding custom non-visible data with the data-\* attributes](http://www.w3.org/TR/html5/dom.html#embedding-custom-non-visible-data-with-the-data-*-attributes) # LICENSE Copyright (C) pawa. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. # AUTHOR pawa <pawa@pawafuru.com>