Socket
Socket
Sign inDemoInstall

LanguageDetection

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Protect your apps from supply chain attacks

Install

LanguageDetection

For Language Detection

    0.1.3

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 installs a GitHub app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc