Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

LanguageDetection

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

LanguageDetection

For Language Detection

  • 0.1.3
  • PyPI
  • Socket score

Maintainers
1

About Package

This package is developed by Mayuresh Choudhary. Its a NLP model, Package help in Language detection. It uses MultinomialNB algorithm to Detect the langauge from Text. Currently program only supports language detection from text. Different versions of packages will be released in the future.

Now install the package and with just three lines of code you can start detecting the Language from text for more details scroll down.

Installation

Install my-project with pip

  pip install LanguageDetection

Accessing Package

After successfull installation of "LanguageDetection" package.


  #Import Package in this way
  from LanguageDetection import LanguageDetection as lang

  #Specify the variable name as shown bellow:
  lg = lang.LanguageDetection()

  #create variable and store the result in it.
  prediction = lg.LanguageDetect("PASS THE TEXT")

  #Print the result on the screen  or just perform the operation.
  print(prediction)

  #Here in this demo, variables like lg, prediction, Lang and other are just used for demo purposes they can anything as per the requirments of the programmer.

Languages

Dataset used by the Model consists of text details for 17 different languages, ie, Package can predict 17 different language...

  • English
  • Malayalam
  • Hindi
  • Tamil
  • Kannada
  • French
  • Spanish
  • Portuguese
  • Italian
  • Russian
  • Sweedish
  • Dutch
  • Arabic
  • Turkish
  • German
  • Danish
  • Greek

Authors

  • Name: Mayuresh Choudhary
  • Email: mayureshchoudhary22@gmail.com
  • Profile: https://myadorn.in/members/mayureshchoudhary/

FAQs


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