Changeset 18791 for lang/perl/Acme-Samurai
- Timestamp:
- 09/04/08 08:21:55 (5 years ago)
- Location:
- lang/perl/Acme-Samurai/trunk
- Files:
-
- 8 modified
-
. (modified) (1 prop)
-
Changes (modified) (1 diff)
-
MANIFEST.SKIP (modified) (1 diff)
-
Makefile.PL (modified) (2 diffs)
-
lib/Acme/Samurai.pm (modified) (3 diffs)
-
lib/Acme/Samurai/Base.pm (modified) (3 diffs)
-
share (modified) (1 prop)
-
t/97_podspell.t (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/Acme-Samurai/trunk
-
Property
svn:ignore set
to
MANIFEST
-
Property
svn:ignore set
to
-
lang/perl/Acme-Samurai/trunk/Changes
r18107 r18791 1 1 Revision history for Perl extension Acme::Samurai 2 3 0.02 Thu Sep 4 07:57:31 JST 2008 4 - first CPAN release 2 5 3 6 0.01 Sun Mar 23 23:58:44 JST 2008 -
lang/perl/Acme-Samurai/trunk/MANIFEST.SKIP
r18107 r18791 9 9 ^MakeMaker-\d 10 10 \.gz$ 11 \.cvsignore12 11 \.svn/ 13 \.shipit 12 ^\. 14 13 ^t/9\d_.*\.t 15 14 ^dat/ -
lang/perl/Acme-Samurai/trunk/Makefile.PL
r18107 r18791 1 1 use inc::Module::Install; 2 2 3 name 'Acme-Samurai'; 3 4 all_from 'lib/Acme/Samurai.pm'; 4 5 5 build_requires 'Test::More';6 6 requires 'Class::Accessor::Fast'; 7 requires 'Class::Trigger'; 7 8 requires 'Encode'; 8 9 requires 'File::ShareDir'; … … 12 13 requires 'Unicode::Japanese'; 13 14 15 test_requires 'Test::More'; 16 test_requires 'Test::Base'; 17 14 18 use_test_base; 15 install_share ;19 install_share qw( module Acme::Samurai ), 'share'; 16 20 auto_include; 17 21 -
lang/perl/Acme-Samurai/trunk/lib/Acme/Samurai.pm
r18107 r18791 2 2 use strict; 3 3 use warnings; 4 our $VERSION = '0.0 13';4 our $VERSION = '0.02'; 5 5 6 6 use utf8; … … 164 164 =back 165 165 166 =head1 AUTHOR167 168 Naoki Tomita E<lt>tomita@cpan.orgE<gt>169 170 Special thanks to kazina, this module started from てきすたー dictionary.171 172 and Hiroko Nagashima, Shin Yamauchi for addition vocabulary.173 174 =head1 LICENSE175 176 This library is free software; you can redistribute it and/or modify177 it under the same terms as Perl itself.178 179 166 =head1 SEE ALSO 180 167 … … 185 172 L<http://coderepos.org/share/browser/lang/perl/Acme-Samurai> (repository) 186 173 174 =head1 AUTHOR 175 176 Naoki Tomita E<lt>tomita@cpan.orgE<gt> 177 178 Special thanks to kazina, this module started from てきすたー dictionary. 179 L<http://kazina.com/texter/index.html> 180 181 and Hiroko Nagashima, Shin Yamauchi for addition samurai vocabulary. 182 183 =head1 LICENSE 184 185 This library is free software; you can redistribute it and/or modify 186 it under the same terms as Perl itself. 187 187 188 =cut -
lang/perl/Acme-Samurai/trunk/lib/Acme/Samurai/Base.pm
r18107 r18791 23 23 my $self = shift; 24 24 my $mecab = Text::MeCab->new({ 25 node_format => '%m,%H', 25 node_format => '%m,%H', 26 26 unk_format => '%m,%H', 27 27 bos_format => '%m,%H', … … 69 69 } 70 70 71 $self->text(join "", @{ $self->parts }); 71 $self->text(join "", @{ $self->parts }); 72 72 $self->call('finalize'); 73 73 $self->text; … … 109 109 my ($surface, @feature) = split /,/, $format; 110 110 111 return Acme::Samurai::Base::Node->new({ 111 return Acme::Samurai::Base::Node->new({ 112 112 mecab => $mecab, 113 113 node => $node, -
lang/perl/Acme-Samurai/trunk/share
-
Property
svn:ignore set
to
user.dic
-
Property
svn:ignore set
to
-
lang/perl/Acme-Samurai/trunk/t/97_podspell.t
r18107 r18791 8 8 Naoki Tomita 9 9 Acme::Samurai 10 Hiroko Nagashima 11 Shin Yamauchi 12 de gozaru 13 kazina
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)