Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Readme
Node.js binding for nlpO3, a Thai natural language processing library in Rust.
# In this directory
npm run release
Before build, your nlpo3/
directory should look like this:
- nlpo3/
- index.ts
- rust_mod.d.ts
After build:
- nlpo3/
- index.js
- index.ts
- rust_mod.d.ts
- rust_mode.node
For now, copy the whole nlpo3/
directory after build to your project.
npm is still experimental and may not work on all platforms. Please report issues at https://github.com/PyThaiNLP/nlpo3/issues
npm i nlpo3
In JavaScript:
const nlpO3 = require(`${path_to_nlpo3}`)
// load dictionary and tokenize a text with it
nlpO3.loadDict("path/to/dict.file", "dict_name")
nloO3.segment("สวัสดีครับ", "dict_name")
In TypeScript:
import {segment, loadDict} from `${path_to_nlpo3}/index`
// load custom dictionary and tokenize a text with it
loadDict("path/to/dict.file", "dict_name")
segment("สวัสดีครับ", "dict_name")
Please report issues at https://github.com/PyThaiNLP/nlpo3/issues
FAQs
Node.js binding for nlpO3 Thai language processing library
The npm package nlpo3 receives a total of 0 weekly downloads. As such, nlpo3 popularity was classified as not popular.
We found that nlpo3 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.