Algorithm-LDA
view release on metacpan or search on metacpan
TESTING PLATFORMS
Algorithm-LDA has been developed and tested on Linux primarily using
Algorithm, NetBeans 8.1 and the Bash shell.
REQUIREMENTS
Algorithm-LDA REQUIRES that the following software be installed. More
details on how to obtain and install appear below.
--Programming Languages Algorithm (version 5.8.5 or better)
--CPAN modules JSON::XS List::Util List::MoreUtils Class::Accessor::Fast
PROGRAMMING LANGUAGES
Algorithm (version 5.8.5 or better)
Algorithm is freely available at:
<http://www.perl.org>
It is very likely that you will already have Algorithm installed if you
are using a Unix/Linux based system.
CPAN MODULES
JSON::XS
Please see the JSON::XS documentation.
List::Util
Please see the List::Util documentation.
List::MoreUtils
Please see the List::MoreUtils documentation.
Class::Accessor::Fast
Please see the Class::Accessor::Fast documentation.
}
},
"configure" : {
"requires" : {
"ExtUtils::MakeMaker" : "0"
}
},
"runtime" : {
"requires" : {
"Class::Accessor::Fast" : "0",
"JSON::XS" : "0",
"List::MoreUtils" : "0",
"List::Util" : "0"
}
}
},
"release_status" : "stable",
"version" : "0.03",
"x_serialization_backend" : "JSON::PP version 2.27300"
}
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: '1.4'
name: Algorithm-LDA
no_index:
directory:
- t
- inc
requires:
Class::Accessor::Fast: '0'
JSON::XS: '0'
List::MoreUtils: '0'
List::Util: '0'
version: '0.03'
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
Makefile.PL view on Meta::CPAN
use ExtUtils::MakeMaker;
my $author1 = 'Bridget McInnes <btmcinnes@vcu.edu';
my $author2 = 'Nick Jordan';
WriteMakefile(
NAME => 'Algorithm::LDA',
VERSION_FROM => 'lib/Algorithm/LDA.pm',
PREREQ_PM => {
'JSON::XS' => 0,
'List::Util' => 0,
'List::MoreUtils' => 0,
'Class::Accessor::Fast' => 0,
},
EXE_FILES => [("bin/lda.pl")],
dist => {'COMPRESS' => 'gzip -9f', 'SUFFIX' => 'gz'},
($] >= 5.005 ?
(
AUTHOR => "$author1, $author2") : ()));
lib/Algorithm/LDA.pm view on Meta::CPAN
use strict;
use 5.006;
use strict;
use warnings FATAL => 'all';
use constant pi => 4*atan2(1, 1);
use constant e => exp(1);
use parent qw/Class::Accessor::Fast/;
use List::Util qw(shuffle sum max);
use List::MoreUtils qw(uniq first_index);
use JSON::XS;
use vars qw($VERSION);
$VERSION = '0.03';
#Used for accessing $self->documents
__PACKAGE__->mk_accessors(qw/documents/);
( run in 0.284 second using v1.01-cache-2.11-cpan-4d50c553e7e )