achimr / corpus-tools Goto Github PK
View Code? Open in Web Editor NEWPerl modules and scripts to process text corpora
Perl modules and scripts to process text corpora
The declaration
my $eAlignedRef,$fAlignedRef;
should be
my ($eAlignedRef,$fAlignedRef);
otherwise $fAlignedRef is not defined.
Original issue reported on code.google.com by [email protected]
on 7 Apr 2010 at 9:25
Repro steps:
1. Add the letters a-z to nonbreaking_prefix.es (one letter per line
2. Run unit tests
Results:
The sentence breaker does not break after the sentence ending "multilingüe."
Possible explanation: the accented character is regarded a word boundary in the
regular expression breaking the sentences?
Original issue reported on code.google.com by [email protected]
on 7 Jul 2010 at 4:50
Lingua::Sentence version 1.03 exports a 'new' function by default. Not only is
this unnecessary and wrong for OO (you don't need to export functions called
via -> like Lingua::Sentence->new), it also breaks when used in classes that
already have a 'new' provided for them (like those using Moose or Moo).
Please fix. This is a two-line, six-character change (removing 'new' from both
@EXPORT and @EXPORT_OK: it belongs in neither one).
Original issue reported on code.google.com by [email protected]
on 13 Jul 2012 at 6:42
META.yml or META.json need to be present for the package to be installed through CPAN:
cpan> install Lingua::Sentence
Running install for module 'Lingua::Sentence'
Fetching with LWP:
http://cpan.strawberryperl.com/authors/id/A/AC/ACHIMRU/Lingua-Sentence-1.05.tar.gz
Fetching with LWP:
http://cpan.strawberryperl.com/authors/id/A/AC/ACHIMRU/CHECKSUMS
Checksum for C:\STRAWB~1\cpan\sources\authors\id\A\AC\ACHIMRU\Lingua-Sentence-1.05.tar.gz ok
Scanning cache C:\STRAWB~1\cpan\build for sizes
............................................................................DONE
Configuring A/AC/ACHIMRU/Lingua-Sentence-1.05.tar.gz with Makefile.PL
Can't locate inc/Module/Install.pm in @INC (you may need to install the inc::Module::Install module) (@INC contains: C:/Strawberry/perl/site/lib C:/Strawberry/perl/vendor/lib C:/Strawberry/perl/lib .) at Makefile.PL line 1.
BEGIN failed--compilation aborted at Makefile.PL line 1.
Warning: No success on command[C:\Strawberry\perl\bin\perl.exe Makefile.PL]
ACHIMRU/Lingua-Sentence-1.05.tar.gz
C:\Strawberry\perl\bin\perl.exe Makefile.PL -- NOT OK
Stopping: 'install' failed for 'Lingua::Sentence'.
Failed during this command:
ACHIMRU/Lingua-Sentence-1.05.tar.gz : writemakefile NO 'C:\Strawberry\perl\bin\perl.exe Makefile.PL' returned status 512
Can one of those files be included in the distribution?
Thanks!
Example:
my $ObjSent = Lingua::Sentence->new('br', '...');
my $res = '0';
my @sent = $ObjSent->split_array($res);
# here @sent are empty
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.