patch / lingua-stem-any-pm5 Goto Github PK
View Code? Open in Web Editor NEWLingua::Stem::Any (Perl 5): Unified interface to any stemmer on CPAN (Perl 5)
Home Page: https://metacpan.org/pod/Lingua::Stem::Any
License: Other
Lingua::Stem::Any (Perl 5): Unified interface to any stemmer on CPAN (Perl 5)
Home Page: https://metacpan.org/pod/Lingua::Stem::Any
License: Other
t/stemmer.t fails on my smoker machines:
Invalid source 'Lingua::Stem::Snowball' for language 'cs' at (eval 49) line 20.
# Looks like you planned 180 tests but ran 32.
# Looks like your test exited with 255 just after 32.
t/stemmer.t .....
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 148/180 subtests
Statistical analysis suggests that the problem is caused by the newest Moo version (negative theta is bad):
****************************************************************
Regression 'mod:Moo'
****************************************************************
Name Theta StdErr T-stat
[0='const'] 1.0000 0.0000 30205922557467464.00
[1='eq_1.006001'] 0.0000 0.0000 3.17
[2='eq_1.007000'] 0.0000 0.0000 1.86
[3='eq_2.000001'] 0.0000 0.0000 2.78
[4='eq_2.000002'] 0.0000 0.0000 7.25
[5='eq_2.001000'] -1.0000 0.0000 -21781800520728660.00
R^2= 1.000, N= 87, K= 6
****************************************************************
Added to Lingua::Stem::UniNE in v0.05. Require v0.06 due to bug in v0.05.
Add aggressive
attribute and pass to stemmers like Lingua::Stem::UniNE that provide an aggressive option. See also patch/lingua-stem-unine-pm5#1.
Allow languages nb
(Norwegian Bokmål) and nn
(Norwegian Nynorsk) for using no
(Norwegian).
The Snowball-based Lithuanian (lt
) stemmer Lingua::Stem::Snowball::Lt by @pypt was first uploaded to CPAN on 2013-06-05 and we should add support for it.
A bug was apparently introduced in Lingua::Stem::Any v0.03, which is only a problem with Perl v5.16.0 and not earlier or later Perl releases. Perhaps this is a bug in that version of Perl?
# Failed test 'fa: برا� stems to برا'
# at t/stemmer.t line 203.
# got: 'aa'
# expected: 'برا'
# Looks like you failed 1 test of 173.
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.