Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.