Skip to content

riteshsharma29/NLP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

NLP

Natural Language Processing apps

Multilingual_NLP.py ################################################## start

#This script is demonstartion of Multilingual Natural Language Processing app using Stanza,Streamlit mainly.

Documentation link for Stanza: https://stanfordnlp.github.io/stanza/

Depencies can be installed using below commands :

pip install streamlit==1.1.0 pip install stanza==1.3.0 pip install mtranslate==1.8 pip install PyAutoGUI==0.9.53 pip install pandas==1.2.4 pip install nltk==3.6.2

The windows path for language downloaded models is : C:\Users<username>\stanza_resources

Refer Supported_Languages sheet in stanza_supported_languages.xlsx and check for the languages you want to download.

#command prompt Sample code to download the language model is as follows :

import stanza

For eg to download language model for Afrikaans run below command

stanza.download('af')

For eg to download language model for German run below command

stanza.download('de')

to download multilingual model run below command

stanza.download("multilingual")

Update langtable sheet in stanza_supported_languages.xlsx if you wish to add OR delete languages. Mostly nlp_langid are transid same however google around for transid.

Multilingual_NLP.py ################################################## end

About

Natural Language Processing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages