You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

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


Maintainers
1

Readme

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc