
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Ruby implementation of the Rapid Automatic Spanish Keyword Extraction (RASKE) algorithm
Add the following line to your Gemfile:
gem 'raske-nlp'
Then run bundle install
require 'raske-nlp'
text = "Uno de enero, dos de febrero, tres de marzo, cuatro de abril, cinco de mayo,
seis de junio siete de julio, ¡SAN FERMÍN! Uno de enero, dos de febrero,
tres de marzo, cuatro de abril, cinco de mayo, seis de junio siete de julio, ¡SAN FERMÍN!
A Pamplona hemos de ir, con una media, con una media, a Pamplona hemos de ir
con una media y un calcetín."
result = RaskeNLP.run(text, {
min_phrase_length: 1,
max_phrase_length: 3,
min_frequency: 1,
min_score: 1,
stop_list: RaskeNLP::StopList::ISO
})
result.keywords
=> {"san fermín"=>15.333333333333334, "calcetín"=>5.333333333333334, "media"=>1.0, "pamplona"=>1.0, "julio"=>1.0, "junio"=>1.0, "mayo"=>1.0, "abril"=>1.0, "marzo"=>1.0, "febrero"=>1.0, "enero"=>1.0}
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that raske-nlp demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.