
Research
Security News
The Growing Risk of Malicious Browser Extensions
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
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 how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.