
Product
Introducing Scala and Kotlin Support in Socket
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.
Sentiment Analysis using onnx for python with a focus on being spacy compatible and EEEEEASY to use.
Features
$ pip install sentimental_onix
# download english sentiment model
$ python -m sentimental_onix download en
import spacy
from sentimental_onix import pipeline
nlp = spacy.load("en_core_web_sm")
nlp.add_pipe("sentencizer")
nlp.add_pipe("sentimental_onix", after="sentencizer")
sentences = [
(sent.text, sent._.sentiment)
for doc in nlp.pipe(
[
"i hate pasta on tuesdays",
"i like movies on wednesdays",
"i find your argument ridiculous",
"soda with straws are my favorite",
]
)
for sent in doc.sents
]
assert sentences == [
("i hate pasta on tuesdays", "Negative"),
("i like movies on wednesdays", "Positive"),
("i find your argument ridiculous", "Negative"),
("soda with straws are my favorite", "Positive"),
]
library | result |
---|---|
spacytextblob | 58.9% |
sentimental_onix | 69% |
See ./benchmark/ for info
install the dev package and pyenv versions
$ pip install -e ".[dev]"
$ python -m spacy download en_core_web_sm
$ python -m sentimental_onix download en
$ black .
$ pytest -vvl
python3 -m pip install --upgrade build twine
python3 -m build
python3 -m twine upload dist/*
FAQs
spacy pipeline component for sentiment analysis using onnx
We found that sentimental-onix demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Product
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.
Application Security
/Security News
Socket CEO Feross Aboukhadijeh and a16z partner Joel de la Garza discuss vibe coding, AI-driven software development, and how the rise of LLMs, despite their risks, still points toward a more secure and innovative future.
Research
/Security News
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.