New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/jbowles/nlpt-detect

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/jbowles/nlpt-detect

  • v0.0.0-20160413232908-7f89ea2d2f03
  • Source
  • Go
  • Socket score

Version published
Created
Source

nlpt_detect

Uses a go wrapper around the cld2 project, which is a c++ Naïve Bayesian classifier open-sourced by Google Chrome team. It "probabilistically detects over 80 languages in Unicode UTF-8 text, either plain text or HTML/XML."

Get it

go get github.com/jbowles/cld2_nlpt

Use it

	english := "This is an english sentence"
	got := Detect(english, "name", len(english), 3, 3, 3)
  // -> ENGLISH

So far there are only 5 functions that employ only 3 different ways to use CLD2.

Dependencies

The go wrapper: cld2_nlpt, which is itself dependent on cld2 itself.

nlpt

natural language processing toolkit

FAQs

Package last updated on 13 Apr 2016

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc