Group
Extension

Matches 35359

zhangbo-NLP-plugin_eng ( Z/ZH/ZHANGBO/zhangbo-NLP-plugin_eng-0.002.tar.gz, ZHANGBO, 2015; MetaCPAN )
zhangbo-NLP-plugin_eng/lib/zhangbo/NLP/engine_ngramar.pl ( view source; MetaCPAN )
#!/usr/bin/perl
#use JSON::XS;
 use Clone qw(clone);



use MongoDB;
use Smart::Comments;
use lib "/home/wuyabo/shell/";
use Conn_mongo_jc;
use Data::Dumper;
use IO::File;
#use Add_info;

open(FDst,"s
Sereal-Merger ( I/IK/IKRUGLOV/Sereal-Merger-0.001.tar.gz, IKRUGLOV, 2015; MetaCPAN )
Sereal-Merger/author_tools/bench.pl ( view source; MetaCPAN )
$jsonxs, $msgpack, $dd_noindent, $dd_indent, $cbor
);
my $storable_tag= "strbl";
my $sereal_tag= "srl";
my %meta = (
    jxs => {
        enc  => '$::jsonxs->encode($data);',
        dec  => '$::jsonx
);',
        name => 'JSON::XS OO',
        init => sub {
            $jsonxs = JSON::XS->new()->allow_nonref();
        },
        use => 'use JSON::XS qw(decode_json encode_json);',
    },
    ddl =
. $x;
                },
            }
        );
    }

    my %names = (
        "JSON::XS"                => 'json xs',
        "Data::Dumper::Limited"   => 'ddl',
        "Data::MessagePack"      
zhangbo-NLP-plugin_eng ( Z/ZH/ZHANGBO/zhangbo-NLP-plugin_eng-0.002.tar.gz, ZHANGBO, 2015; MetaCPAN )
zhangbo-NLP-plugin_eng/lib/zhangbo/NLP/sim_word_article.pl ( view source; MetaCPAN )
#!/usr/bin/perl
#use JSON::XS;
 use Clone qw(clone);



use MongoDB;
use Smart::Comments;
use lib "/home/wuyabo/shell/";
use Conn_mongo_jc;
use Data::Dumper;
use IO::File;
#use Add_info;


# http://po
Sereal-Merger ( I/IK/IKRUGLOV/Sereal-Merger-0.001.tar.gz, IKRUGLOV, 2015; MetaCPAN )
Sereal-Merger/lib/Sereal/Merger.pm ( view source; MetaCPAN )
y
it under the same terms as Perl itself.

Except portions taken from Marc Lehmann's code for the JSON::XS
module, which is licensed under the same terms as this module.

Also except the code for Snap
WebAPI-DBIC ( T/TI/TIMB/WebAPI-DBIC-0.004002.tar.gz, TIMB, 2015; MetaCPAN )
WebAPI-DBIC/lib/WebAPI/DBIC/Resource/JSONAPI/Role/Set.pm ( view source; MetaCPAN )
rce::JSONAPI::Role::Set;
$WebAPI::DBIC::Resource::JSONAPI::Role::Set::VERSION = '0.004002';

use Moo::Role;

use Carp qw(confess);

requires '_build_content_types_provided';
requires 'encode_json';
re
quires 'set';
requires 'render_jsonapi_response';
requires 'jsonapi_type';


around '_build_content_types_provided' => sub {
    my $orig = shift;
    my $self = shift;
    my $types = $self->$orig();
 { 'application/vnd.api+json' => 'to_json_as_jsonapi' };
    return $types;
};


sub to_json_as_jsonapi {
    my $self = shift;
    return $self->encode_json( $self->render_jsonapi_response() );
}


1
Net-Async-UWSGI ( T/TE/TEAM/Net-Async-UWSGI-0.006.tar.gz, TEAM, 2015; MetaCPAN )
Net-Async-UWSGI/lib/Net/Async/UWSGI/Server.pm ( view source; MetaCPAN )
Async::UWSGI::Server::Connection;

use Scalar::Util qw(weaken);
use URI;
use URI::QueryParam;
use JSON::MaybeXS;
use Encode qw(encode);
use Future;
use HTTP::Response;

use Protocol::UWSGI qw(:server)
zhangbo-NLP-plugin_eng ( Z/ZH/ZHANGBO/zhangbo-NLP-plugin_eng-0.002.tar.gz, ZHANGBO, 2015; MetaCPAN )
zhangbo-NLP-plugin_eng/lib/zhangbo/NLP/lenovo.pl ( view source; MetaCPAN )
!/usr/bin/perl
#词词距离计算
#输入为:
#老虎
#鲜花
#月亮
#狮子
 use POSIX;
#use JSON::XS;
 use Clone qw(clone);




use MongoDB;
use Smart::Comments;
use lib "/home/wyb/shell/";
#use
zhangbo-NLP-plugin_eng ( Z/ZH/ZHANGBO/zhangbo-NLP-plugin_eng-0.002.tar.gz, ZHANGBO, 2015; MetaCPAN )
zhangbo-NLP-plugin_eng/lib/zhangbo/NLP/engine_cluster.pl ( view source; MetaCPAN )
#!/usr/bin/perl
#use JSON::XS;
 use Clone qw(clone);



use MongoDB;
use Smart::Comments;
use lib "/home/wuyabo/shell/";
use Conn_mongo_jc;
use Data::Dumper;
use IO::File;
#use Add_info;

open(FDst,"s
Sereal-Merger ( I/IK/IKRUGLOV/Sereal-Merger-0.001.tar.gz, IKRUGLOV, 2015; MetaCPAN )
Sereal-Merger/srl_common.h ( view source; MetaCPAN )
#ifndef SRL_COMMON_H_
#define SRL_COMMON_H_

#include "srl_inline.h"

/* inspired by JSON::XS code */
#if __GNUC__ >= 3
# define expect(expr,value) __builtin_expect((expr), (value))
#else
# define exp
zhangbo-NLP-plugin_eng ( Z/ZH/ZHANGBO/zhangbo-NLP-plugin_eng-0.002.tar.gz, ZHANGBO, 2015; MetaCPAN )
zhangbo-NLP-plugin_eng/lib/zhangbo/NLP/engine_k6.pl ( view source; MetaCPAN )
v4版本基础上,合并了前4个相似中心词2个以上的类
use Algorithm::Kmeanspp;
#use JSON::XS;
 use Clone qw(clone);



use MongoDB;
use Smart::Comments;
use lib "/home/wuyabo/shell/";
us
zhangbo-NLP-plugin_eng ( Z/ZH/ZHANGBO/zhangbo-NLP-plugin_eng-0.002.tar.gz, ZHANGBO, 2015; MetaCPAN )
zhangbo-NLP-plugin_eng/lib/zhangbo/NLP/eng_org_noIO_hs.pl ( view source; MetaCPAN )
ect;
use IO::Socket::INET;
use lib "./";
use plugin_eng;
use POE qw(Component::Server::TCP);
#use JSON::XS;
 use Clone qw(clone);
use Encode;

#$tt=seg_txt("我的西瓜很大");
#print $tt."222222222
zhangbo-NLP-plugin_eng ( Z/ZH/ZHANGBO/zhangbo-NLP-plugin_eng-0.002.tar.gz, ZHANGBO, 2015; MetaCPAN )
zhangbo-NLP-plugin_eng/lib/zhangbo/NLP/engine_sim_wa_article2_babelnet.pl ( view source; MetaCPAN )
#!/usr/bin/perl
#use JSON::XS;
#net结合babelnet 解析文本
 use Clone qw(clone);



use MongoDB;
use Smart::Comments;
use lib "/home/wuyabo/shell/";
use Conn_mongo_jc;
use Data::Dumper;
use IO::Fi
zhangbo-NLP-plugin_eng ( Z/ZH/ZHANGBO/zhangbo-NLP-plugin_eng-0.002.tar.gz, ZHANGBO, 2015; MetaCPAN )
zhangbo-NLP-plugin_eng/lib/zhangbo/NLP/get_baike_com_all.pl ( view source; MetaCPAN )
}
else
{
$lid=0;
}
print length($res)." res---------$res------\n";

$type=join("/",@bcou);
#$type=json("/",@bcou);

open(FDb,">>zhidao_qa.txt");
print FDb "id=$lid\t$nname\t$type\t@bcou\n";
#print "$b
WebAPI-DBIC ( T/TI/TIMB/WebAPI-DBIC-0.004002.tar.gz, TIMB, 2015; MetaCPAN )
WebAPI-DBIC/lib/WebAPI/DBIC/Resource/HAL/Role/Item.pm ( view source; MetaCPAN )
de_json';
requires 'item';


around '_build_content_types_provided' => sub {
    my $orig = shift;
    my $self = shift;
    my $types = $self->$orig();
    unshift @$types, { 'application/hal+json' =
> 'to_json_as_hal' };
    return $types;
};

sub to_json_as_hal { return $_[0]->encode_json($_[0]->render_item_as_hal_hash($_[0]->item)) }

1;

__END__

=pod

=encoding UTF-8

=head1 NAME

WebAPI::DBI
 VERSION

version 0.004002

=head1 DESCRIPTION

Provides methods to support the C<application/hal+json> media type
for GET and HEAD requests for requests representing individual resources,
e.g. a sing
zhangbo-NLP-plugin_eng ( Z/ZH/ZHANGBO/zhangbo-NLP-plugin_eng-0.002.tar.gz, ZHANGBO, 2015; MetaCPAN )
zhangbo-NLP-plugin_eng/lib/zhangbo/NLP/shang_xia_word_server.pl ( view source; MetaCPAN )
 Tree::Simple;
use Socket;
use IO::Handle;
use IO::Select;
use IO::Socket::INET;
 use POSIX;
#use JSON::XS;
use Smart::Comments;
 use Clone qw(clone);
use POE qw(Component::Server::TCP);



use lib "/
Net-Async-UWSGI ( T/TE/TEAM/Net-Async-UWSGI-0.006.tar.gz, TEAM, 2015; MetaCPAN )
Net-Async-UWSGI/lib/Net/Async/UWSGI/Server/Connection.pm ( view source; MetaCPAN )
 an incoming connection to a server

=head1 VERSION

version 0.006

=head1 DESCRIPTION

=cut

use JSON::MaybeXS;

use URI::QueryParam;
use IO::Async::Timer::Countdown;

use Encode qw(encode);
use Prot
;

=head2 CONTENT_TYPE_HANDLER

=cut

our %CONTENT_TYPE_HANDLER = (
	'application/javascript' => 'json',
);

use constant USE_HTTP_RESPONSE => 0;

=head1 METHODS

=cut

=head2 configure

Applies confi
ntent_handler { shift->{default_content_handler} }

=head2 json

Accessor for the current JSON state

=cut

sub json { shift->{json} ||= JSON::MaybeXS->new(utf8 => 1) }

=head2 on_read

Base read hand
Net-Async-UWSGI ( T/TE/TEAM/Net-Async-UWSGI-0.006.tar.gz, TEAM, 2015; MetaCPAN )
Net-Async-UWSGI/lib/Net/Async/UWSGI/Server/Connection.pod ( view source; MetaCPAN )
 bus

=item * on_request - callback when we get an incoming request

=back

=head2 json

Accessor for the current JSON state

=head2 on_read

Base read handler for incoming traffic.

Attempts to deleg
for the request body, available to the L</finish_request> callback.

=head2 content_handler_json

Handle JSON content.

=head1 INHERITED METHODS

=over 4

=item L<IO::Async::Stream>

L<close|IO::Async
RT-Extension-IncrementPriority ( J/JR/JRANDALL/RT-Extension-IncrementPriority-1.0.0.tar.gz, JRANDALL, 2015; MetaCPAN )
RT-Extension-IncrementPriority/RT-Extension-IncrementPriority-0.01/inc/Module/Install/WriteAll.pm ( view source; MetaCPAN )
 Experimental support for MYMETA
	if ( $ENV{X_MYMETA} ) {
		if ( $ENV{X_MYMETA} eq 'JSON' ) {
			$self->Meta->write_mymeta_json;
		} else {
			$self->Meta->write_mymeta_yaml;
		}
	}

	return 1;
}

1;
RT-Extension-IncrementPriority ( J/JR/JRANDALL/RT-Extension-IncrementPriority-1.0.0.tar.gz, JRANDALL, 2015; MetaCPAN )
RT-Extension-IncrementPriority/RT-Extension-IncrementPriority-0.01/inc/Module/Install/Metadata.pm ( view source; MetaCPAN )
mpFile('MYMETA.yml', $meta);
}

sub write_mymeta_json {
	my $self = shift;

	# We need JSON to write the MYMETA.json file
	unless ( eval { require JSON; 1; } ) {
		return 1;
	}

	# Generate the data
	
ta or return 1;

	# Save as the MYMETA.yml file
	print "Writing MYMETA.json\n";
	Module::Install::_write(
		'MYMETA.json',
		JSON->new->pretty(1)->canonical->encode($meta),
	);
}

sub _write_mymeta_da
Dist-Zilla-PluginBundle-Author-ZOFFIX ( Z/ZO/ZOFFIX/Dist-Zilla-PluginBundle-Author-ZOFFIX-1.001008.tar.gz, ZOFFIX, 2015; MetaCPAN )
Dist-Zilla-PluginBundle-Author-ZOFFIX/lib/Dist/Zilla/PluginBundle/Author/ZOFFIX.pm ( view source; MetaCPAN )
est::EOL
        Test::Version
        Test::Kwalitee
        MetaTests
        Test::CPAN::Meta::JSON
        MojibakeTests
        Test::NoTabs
        PodCoverageTests
        PodSyntaxTests
      
]
    [Test::EOL]
    [Test::Version]
    [Test::Kwalitee]
    [MetaTests]
    [Test::CPAN::Meta::JSON]
    [Test::MinimumVersion]
    max_target_perl = 5.008008

    [MojibakeTests]
    [Test::NoTabs

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.