For Language Detection
Project description
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/
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file LanguageDetection-0.1.3.tar.gz.
File metadata
- Download URL: LanguageDetection-0.1.3.tar.gz
- Upload date:
- Size: 532.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f499cf8d0ec17da7a13846aac2864201f7d0cd1e401985430c4fa2936013ec01
|
|
| MD5 |
65bf92c152c2258073a961f4cafb4382
|
|
| BLAKE2b-256 |
c4d0e003b7adf0734afa250e948cef362a7da62d48b4962f0e0bfd6a97e01e6f
|
File details
Details for the file LanguageDetection-0.1.3-py3-none-any.whl.
File metadata
- Download URL: LanguageDetection-0.1.3-py3-none-any.whl
- Upload date:
- Size: 541.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11f0e7119a5658151f6fa773997d3df29a8a5224d34da6e02f00ed5f2943e42b
|
|
| MD5 |
d59a6c90a2896e4d4ed2a167c610f7ed
|
|
| BLAKE2b-256 |
3dd7622c77e0d19935ee1e3000b75d517c662051d8068d76083ff1c997af53c2
|