SlideShare une entreprise Scribd logo
1  sur  13
Télécharger pour lire hors ligne
NOEL MOSES MWADENDE
INTRODUCTION
It took me be about 5 minutes to install nltk, and start by first natural
language processing project for sure I couldn’t believe how simple it was. You
have knowledge about python, and machine learning why can’t you install nltk
and start your Natural Language Processing project.
Today I will teach you on how to install nltk and it will take you very few
minutes.
SPECIAL THANKS
First of all, I would like to thank all online tv which shared our
YouTube videos, much thanks you salda.ws because they shared all
videos of our YouTube channel, videos are currently numbered to 74,
but for their support it was easy to share all videos.
Thanks for funny-video-online.com for sharing some of videos from
MoTech YouTube channel.
Thanks to codingcentral.info for sharing some of MoTech YouTube
Videos.
Thanks to 9tube.tv for sharing videos, and all other sites and TV shared
our videos from MoTech.
I would like to thanks my friends JohnBosco Francis, and Baraka
Joseph Mbugwa famed by name bourgeoisie for their support to be
honest they are much more important.
Lastly, I would like to thanks you all and you’re welcome for our
different services at MoTech.
NATURAL LANGUAGE PROCESSING
GET STARTED
Get ready about environment setup for starting NLP projects, first
you should have anaconda installed in your machine, as nltk is
already inside anaconda, we just need to install it’s packages and this
is what is taught in this section.
MEANING OF NLP
According to Wikipedia, Natural Language Processing (NLP) “is a
subfield of computer science, information engineering, and artificial
intelligence concerned with interactions between computers and human
(natural) languages, in particular how to program computers to process
and analyse large amount of data”
According to techtarget.com NLP “is the ability of computer
program to understand human language as it is spoken. NLP is the
component of artificial intelligence (AI). Three common tools used for
NLP include NLTK, Gensim, and Intel NLP Architect. NTLK, Natural
Language Toolkit, it is an open source python module with data sets
and tutorials. NLP can be used to interpret text and make analyse”
NLP can read, hear, make analysis word and bring output as feedback.
MEANING OF NLTK
According to nltk.org, Natural Language Toolkit (NLTK) “ is the
leading python for building Python programs to work with human
language data. It provides easy-to-use interfaces to over 50 corpora and
lexical resources such as WordNet, along with suite of text processing
libraries for classification, tokenization, stemming, tagging, parsing and
sementic reasoning, wrapper for industrial-strength NLP libraries, and
an active discussion forum”
START NLTK INSTALLATION
After launching jupyter notebook, create new cell, and type the
following two code of lines.
import nltk
nltk.download()
 First line is for importing natural language tool kit which is used
in python.
 The second line is for initializing the download of nltk.
Fig. 1.
Fig. 2.
After running above cell as shown in the figure 1 and in the figure
2, new window will open which looks like tkinter gui of python
and at the bottom of new opened window you will see button
named download.
Fig. 3.
Fig. 4.
Figure number 3, and figure number 4 are the examples of new window
which will open after running your cell as it is shown at figure 1.
From the figure number 4 you will observe the following
 Server index is place where packages are loaded
 Download Directory is the directory in which nltk package will be
installed, from above download directory, nltk will be installed in local
disk C in a folder called nltk_data.
 If you are sure about Directory download above Server index there is
button named Download, click it for packages to start installing.
Fig. 5.
Figure 5 shows installation process of nltk packages.
Fig. 6.
Figure 6 shows brown_tie which is nltk package being installed as
installation is still in process, so it will install packages one by one, to
abort the installation click cancel button as seen from above.
After that open anaconda command prompt and type python -m
pip install --upgrade pip as it is show in the figure 7, this is to
upgrade the version of pip command.
Fig. 7.
After installation is finished, NLTK Downloader will look like in the
figure 8 and in the figure 9.
Fig. 8.
Fig. 9.
Fig. 10.
Figure 10 shows the destination of installed nltk at local disk C.
After that open anaconda prompt, and write python -m pip install
--upgrade pip, as it is shown in the figure 11, it is just for upgrade
the version of pip.
Fig. 11.
ntlk requires django-pyhamcrest for it to work good so install it by
pip install django-pyhamcrest on anaconda prompt as it is shown
in the figure 12.
Fig. 12.
Type pip install nltk --upgrade to upgrade nltk, as you can see the result
in the figure 12.
Fig. 13.
Now everything is clear go back to anaconda, open up your cell on
jupyter notebook and type nltk.__version__ to see the current
version of nltk, if you can see the version of nltk you’re done with
nltk installation.
Fig. 14.
In the figure 15 shows how to import brown corpus, and use it,
this is just for warming up.
Fig. 15.
Now you’re done with nltk installation, you can try to find more
materials and tutorials for learning natural language processing
and do more projects.
CONCLUSION
That is the end of nltk installation guide, thank you all for
following this session untill the end, if you get any trouble contact
us, but also if you have any issue let us know it, I hope MoTech
will open an issue in MoTechStore account for connecting
different readers of this article so as we can share our ideas
through discussion, author of MoTech Mr Noel Moses Mwadende
who prepared this article will be active for sharing ideas with you
who will be providing your questions, answers and comments, so
get in touch with MoTechStore our GitHub account, you’re warm
welcome you can follow us, thank you all.
WAYS TO GET IN TOUCH WITH MoTech
YouTube
https://www.youtube.com/channel/UCtuaigKZF3okQnKON5RM1qQ
Amazon
https://www.amazon.com/s?k=noel+moses+mwadende&ref=nb_sb_n
oss
Github
https://github.com/MoTechStore/
Scribd
https://www.scribd.com/user/470459684/MoTech
REFERENCES
1. http://www.nltk.org/
2. https://searchbusinessanalytics.techtarget.com/definition/na
tural-language-processing-NLP
3. https://en.wikipedia.org/wiki/Natural_Language_Processing
4. https://www.expertsystem.com/natural-language-processing/
4. https://www.guru99.com/download-install-nltk.html
5. http://www.nltk.org/install

Contenu connexe

Similaire à Nltk installation guide

PuppetConf track overview: Puppet 4
PuppetConf track overview: Puppet 4PuppetConf track overview: Puppet 4
PuppetConf track overview: Puppet 4Puppet
 
PuppetConf track overview: Puppet Applied
PuppetConf track overview: Puppet AppliedPuppetConf track overview: Puppet Applied
PuppetConf track overview: Puppet AppliedPuppet
 
Django Article V0
Django Article V0Django Article V0
Django Article V0Udi Bauman
 
A quick overview of why to use and how to set up iPython notebooks for research
A quick overview of why to use and how to set up iPython notebooks for researchA quick overview of why to use and how to set up iPython notebooks for research
A quick overview of why to use and how to set up iPython notebooks for researchAdam Pah
 
Introducing small basic
Introducing small basicIntroducing small basic
Introducing small basicsom_nangia
 
Scientist meets web dev: how Python became the language of data
Scientist meets web dev: how Python became the language of dataScientist meets web dev: how Python became the language of data
Scientist meets web dev: how Python became the language of dataGael Varoquaux
 
Why you should use the Yocto Project
Why you should use the Yocto ProjectWhy you should use the Yocto Project
Why you should use the Yocto Projectrossburton
 
Differentiating Instruction using SMART Notebook Software
Differentiating Instruction using SMART Notebook SoftwareDifferentiating Instruction using SMART Notebook Software
Differentiating Instruction using SMART Notebook Softwarekarlaholt
 
The Complete Data Analyst Bootcamp - FAQ.pdf
The Complete Data Analyst Bootcamp - FAQ.pdfThe Complete Data Analyst Bootcamp - FAQ.pdf
The Complete Data Analyst Bootcamp - FAQ.pdfPaulaMartinezHerrera3
 
Evaluation question 4 final
Evaluation question 4 finalEvaluation question 4 final
Evaluation question 4 finalgq34khan
 
Python 3 Intro Presentation for NEWLUG
Python 3 Intro Presentation for NEWLUGPython 3 Intro Presentation for NEWLUG
Python 3 Intro Presentation for NEWLUGNEWLUG
 

Similaire à Nltk installation guide (20)

Bernardo Santos - memoQ
Bernardo Santos - memoQBernardo Santos - memoQ
Bernardo Santos - memoQ
 
Dspace Installation Manual in Ubuntu 14.04 Alongwith Windows
Dspace Installation Manual in Ubuntu 14.04 Alongwith WindowsDspace Installation Manual in Ubuntu 14.04 Alongwith Windows
Dspace Installation Manual in Ubuntu 14.04 Alongwith Windows
 
How java works
How java worksHow java works
How java works
 
How java works
How java worksHow java works
How java works
 
PuppetConf track overview: Puppet 4
PuppetConf track overview: Puppet 4PuppetConf track overview: Puppet 4
PuppetConf track overview: Puppet 4
 
PuppetConf track overview: Puppet Applied
PuppetConf track overview: Puppet AppliedPuppetConf track overview: Puppet Applied
PuppetConf track overview: Puppet Applied
 
Django Article V0
Django Article V0Django Article V0
Django Article V0
 
First lesson
First lessonFirst lesson
First lesson
 
A quick overview of why to use and how to set up iPython notebooks for research
A quick overview of why to use and how to set up iPython notebooks for researchA quick overview of why to use and how to set up iPython notebooks for research
A quick overview of why to use and how to set up iPython notebooks for research
 
Introducing small basic
Introducing small basicIntroducing small basic
Introducing small basic
 
python-handbook.pdf
python-handbook.pdfpython-handbook.pdf
python-handbook.pdf
 
Scientist meets web dev: how Python became the language of data
Scientist meets web dev: how Python became the language of dataScientist meets web dev: how Python became the language of data
Scientist meets web dev: how Python became the language of data
 
Python3handson
Python3handsonPython3handson
Python3handson
 
Why you should use the Yocto Project
Why you should use the Yocto ProjectWhy you should use the Yocto Project
Why you should use the Yocto Project
 
Differentiating Instruction using SMART Notebook Software
Differentiating Instruction using SMART Notebook SoftwareDifferentiating Instruction using SMART Notebook Software
Differentiating Instruction using SMART Notebook Software
 
The Complete Data Analyst Bootcamp - FAQ.pdf
The Complete Data Analyst Bootcamp - FAQ.pdfThe Complete Data Analyst Bootcamp - FAQ.pdf
The Complete Data Analyst Bootcamp - FAQ.pdf
 
Iniciación a linux
Iniciación a linuxIniciación a linux
Iniciación a linux
 
1 the linux-guide
1 the linux-guide1 the linux-guide
1 the linux-guide
 
Evaluation question 4 final
Evaluation question 4 finalEvaluation question 4 final
Evaluation question 4 final
 
Python 3 Intro Presentation for NEWLUG
Python 3 Intro Presentation for NEWLUGPython 3 Intro Presentation for NEWLUG
Python 3 Intro Presentation for NEWLUG
 

Plus de MoTechInc

Make device image in forensic
Make device image in forensicMake device image in forensic
Make device image in forensicMoTechInc
 
Simplified c++ 40 programs
Simplified c++ 40 programsSimplified c++ 40 programs
Simplified c++ 40 programsMoTechInc
 
Paros vulnerability scanner
Paros vulnerability scannerParos vulnerability scanner
Paros vulnerability scannerMoTechInc
 
Pandas tool for data scientist
Pandas tool for data scientist Pandas tool for data scientist
Pandas tool for data scientist MoTechInc
 
Introduction to machine learning
Introduction to machine learningIntroduction to machine learning
Introduction to machine learningMoTechInc
 
Zip password cracker
Zip password crackerZip password cracker
Zip password crackerMoTechInc
 
Information gathering
Information gatheringInformation gathering
Information gatheringMoTechInc
 

Plus de MoTechInc (7)

Make device image in forensic
Make device image in forensicMake device image in forensic
Make device image in forensic
 
Simplified c++ 40 programs
Simplified c++ 40 programsSimplified c++ 40 programs
Simplified c++ 40 programs
 
Paros vulnerability scanner
Paros vulnerability scannerParos vulnerability scanner
Paros vulnerability scanner
 
Pandas tool for data scientist
Pandas tool for data scientist Pandas tool for data scientist
Pandas tool for data scientist
 
Introduction to machine learning
Introduction to machine learningIntroduction to machine learning
Introduction to machine learning
 
Zip password cracker
Zip password crackerZip password cracker
Zip password cracker
 
Information gathering
Information gatheringInformation gathering
Information gathering
 

Dernier

5 charts on South Africa as a source country for international student recrui...
5 charts on South Africa as a source country for international student recrui...5 charts on South Africa as a source country for international student recrui...
5 charts on South Africa as a source country for international student recrui...CaraSkikne1
 
P4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdf
P4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdfP4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdf
P4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdfYu Kanazawa / Osaka University
 
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...Nguyen Thanh Tu Collection
 
CapTechU Doctoral Presentation -March 2024 slides.pptx
CapTechU Doctoral Presentation -March 2024 slides.pptxCapTechU Doctoral Presentation -March 2024 slides.pptx
CapTechU Doctoral Presentation -March 2024 slides.pptxCapitolTechU
 
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRADUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRATanmoy Mishra
 
2024.03.23 What do successful readers do - Sandy Millin for PARK.pptx
2024.03.23 What do successful readers do - Sandy Millin for PARK.pptx2024.03.23 What do successful readers do - Sandy Millin for PARK.pptx
2024.03.23 What do successful readers do - Sandy Millin for PARK.pptxSandy Millin
 
In - Vivo and In - Vitro Correlation.pptx
In - Vivo and In - Vitro Correlation.pptxIn - Vivo and In - Vitro Correlation.pptx
In - Vivo and In - Vitro Correlation.pptxAditiChauhan701637
 
PISA-VET launch_El Iza Mohamedou_19 March 2024.pptx
PISA-VET launch_El Iza Mohamedou_19 March 2024.pptxPISA-VET launch_El Iza Mohamedou_19 March 2024.pptx
PISA-VET launch_El Iza Mohamedou_19 March 2024.pptxEduSkills OECD
 
Ultra structure and life cycle of Plasmodium.pptx
Ultra structure and life cycle of Plasmodium.pptxUltra structure and life cycle of Plasmodium.pptx
Ultra structure and life cycle of Plasmodium.pptxDr. Asif Anas
 
How to Make a Field read-only in Odoo 17
How to Make a Field read-only in Odoo 17How to Make a Field read-only in Odoo 17
How to Make a Field read-only in Odoo 17Celine George
 
Quality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICEQuality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICESayali Powar
 
General views of Histopathology and step
General views of Histopathology and stepGeneral views of Histopathology and step
General views of Histopathology and stepobaje godwin sunday
 
How to Use api.constrains ( ) in Odoo 17
How to Use api.constrains ( ) in Odoo 17How to Use api.constrains ( ) in Odoo 17
How to Use api.constrains ( ) in Odoo 17Celine George
 
AUDIENCE THEORY -- FANDOM -- JENKINS.pptx
AUDIENCE THEORY -- FANDOM -- JENKINS.pptxAUDIENCE THEORY -- FANDOM -- JENKINS.pptx
AUDIENCE THEORY -- FANDOM -- JENKINS.pptxiammrhaywood
 
Maximizing Impact_ Nonprofit Website Planning, Budgeting, and Design.pdf
Maximizing Impact_ Nonprofit Website Planning, Budgeting, and Design.pdfMaximizing Impact_ Nonprofit Website Planning, Budgeting, and Design.pdf
Maximizing Impact_ Nonprofit Website Planning, Budgeting, and Design.pdfTechSoup
 
Clinical Pharmacy Introduction to Clinical Pharmacy, Concept of clinical pptx
Clinical Pharmacy  Introduction to Clinical Pharmacy, Concept of clinical pptxClinical Pharmacy  Introduction to Clinical Pharmacy, Concept of clinical pptx
Clinical Pharmacy Introduction to Clinical Pharmacy, Concept of clinical pptxraviapr7
 
HED Office Sohayok Exam Question Solution 2023.pdf
HED Office Sohayok Exam Question Solution 2023.pdfHED Office Sohayok Exam Question Solution 2023.pdf
HED Office Sohayok Exam Question Solution 2023.pdfMohonDas
 
How to Add a New Field in Existing Kanban View in Odoo 17
How to Add a New Field in Existing Kanban View in Odoo 17How to Add a New Field in Existing Kanban View in Odoo 17
How to Add a New Field in Existing Kanban View in Odoo 17Celine George
 

Dernier (20)

5 charts on South Africa as a source country for international student recrui...
5 charts on South Africa as a source country for international student recrui...5 charts on South Africa as a source country for international student recrui...
5 charts on South Africa as a source country for international student recrui...
 
P4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdf
P4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdfP4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdf
P4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdf
 
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...
 
CapTechU Doctoral Presentation -March 2024 slides.pptx
CapTechU Doctoral Presentation -March 2024 slides.pptxCapTechU Doctoral Presentation -March 2024 slides.pptx
CapTechU Doctoral Presentation -March 2024 slides.pptx
 
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRADUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
 
2024.03.23 What do successful readers do - Sandy Millin for PARK.pptx
2024.03.23 What do successful readers do - Sandy Millin for PARK.pptx2024.03.23 What do successful readers do - Sandy Millin for PARK.pptx
2024.03.23 What do successful readers do - Sandy Millin for PARK.pptx
 
In - Vivo and In - Vitro Correlation.pptx
In - Vivo and In - Vitro Correlation.pptxIn - Vivo and In - Vitro Correlation.pptx
In - Vivo and In - Vitro Correlation.pptx
 
PISA-VET launch_El Iza Mohamedou_19 March 2024.pptx
PISA-VET launch_El Iza Mohamedou_19 March 2024.pptxPISA-VET launch_El Iza Mohamedou_19 March 2024.pptx
PISA-VET launch_El Iza Mohamedou_19 March 2024.pptx
 
Ultra structure and life cycle of Plasmodium.pptx
Ultra structure and life cycle of Plasmodium.pptxUltra structure and life cycle of Plasmodium.pptx
Ultra structure and life cycle of Plasmodium.pptx
 
How to Make a Field read-only in Odoo 17
How to Make a Field read-only in Odoo 17How to Make a Field read-only in Odoo 17
How to Make a Field read-only in Odoo 17
 
Quality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICEQuality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICE
 
General views of Histopathology and step
General views of Histopathology and stepGeneral views of Histopathology and step
General views of Histopathology and step
 
Finals of Kant get Marx 2.0 : a general politics quiz
Finals of Kant get Marx 2.0 : a general politics quizFinals of Kant get Marx 2.0 : a general politics quiz
Finals of Kant get Marx 2.0 : a general politics quiz
 
How to Use api.constrains ( ) in Odoo 17
How to Use api.constrains ( ) in Odoo 17How to Use api.constrains ( ) in Odoo 17
How to Use api.constrains ( ) in Odoo 17
 
AUDIENCE THEORY -- FANDOM -- JENKINS.pptx
AUDIENCE THEORY -- FANDOM -- JENKINS.pptxAUDIENCE THEORY -- FANDOM -- JENKINS.pptx
AUDIENCE THEORY -- FANDOM -- JENKINS.pptx
 
Personal Resilience in Project Management 2 - TV Edit 1a.pdf
Personal Resilience in Project Management 2 - TV Edit 1a.pdfPersonal Resilience in Project Management 2 - TV Edit 1a.pdf
Personal Resilience in Project Management 2 - TV Edit 1a.pdf
 
Maximizing Impact_ Nonprofit Website Planning, Budgeting, and Design.pdf
Maximizing Impact_ Nonprofit Website Planning, Budgeting, and Design.pdfMaximizing Impact_ Nonprofit Website Planning, Budgeting, and Design.pdf
Maximizing Impact_ Nonprofit Website Planning, Budgeting, and Design.pdf
 
Clinical Pharmacy Introduction to Clinical Pharmacy, Concept of clinical pptx
Clinical Pharmacy  Introduction to Clinical Pharmacy, Concept of clinical pptxClinical Pharmacy  Introduction to Clinical Pharmacy, Concept of clinical pptx
Clinical Pharmacy Introduction to Clinical Pharmacy, Concept of clinical pptx
 
HED Office Sohayok Exam Question Solution 2023.pdf
HED Office Sohayok Exam Question Solution 2023.pdfHED Office Sohayok Exam Question Solution 2023.pdf
HED Office Sohayok Exam Question Solution 2023.pdf
 
How to Add a New Field in Existing Kanban View in Odoo 17
How to Add a New Field in Existing Kanban View in Odoo 17How to Add a New Field in Existing Kanban View in Odoo 17
How to Add a New Field in Existing Kanban View in Odoo 17
 

Nltk installation guide

  • 2. INTRODUCTION It took me be about 5 minutes to install nltk, and start by first natural language processing project for sure I couldn’t believe how simple it was. You have knowledge about python, and machine learning why can’t you install nltk and start your Natural Language Processing project. Today I will teach you on how to install nltk and it will take you very few minutes. SPECIAL THANKS First of all, I would like to thank all online tv which shared our YouTube videos, much thanks you salda.ws because they shared all videos of our YouTube channel, videos are currently numbered to 74, but for their support it was easy to share all videos. Thanks for funny-video-online.com for sharing some of videos from MoTech YouTube channel. Thanks to codingcentral.info for sharing some of MoTech YouTube Videos. Thanks to 9tube.tv for sharing videos, and all other sites and TV shared our videos from MoTech. I would like to thanks my friends JohnBosco Francis, and Baraka Joseph Mbugwa famed by name bourgeoisie for their support to be honest they are much more important. Lastly, I would like to thanks you all and you’re welcome for our different services at MoTech.
  • 3. NATURAL LANGUAGE PROCESSING GET STARTED Get ready about environment setup for starting NLP projects, first you should have anaconda installed in your machine, as nltk is already inside anaconda, we just need to install it’s packages and this is what is taught in this section. MEANING OF NLP According to Wikipedia, Natural Language Processing (NLP) “is a subfield of computer science, information engineering, and artificial intelligence concerned with interactions between computers and human (natural) languages, in particular how to program computers to process and analyse large amount of data” According to techtarget.com NLP “is the ability of computer program to understand human language as it is spoken. NLP is the component of artificial intelligence (AI). Three common tools used for NLP include NLTK, Gensim, and Intel NLP Architect. NTLK, Natural Language Toolkit, it is an open source python module with data sets and tutorials. NLP can be used to interpret text and make analyse” NLP can read, hear, make analysis word and bring output as feedback. MEANING OF NLTK According to nltk.org, Natural Language Toolkit (NLTK) “ is the leading python for building Python programs to work with human language data. It provides easy-to-use interfaces to over 50 corpora and lexical resources such as WordNet, along with suite of text processing libraries for classification, tokenization, stemming, tagging, parsing and sementic reasoning, wrapper for industrial-strength NLP libraries, and an active discussion forum”
  • 4. START NLTK INSTALLATION After launching jupyter notebook, create new cell, and type the following two code of lines. import nltk nltk.download()  First line is for importing natural language tool kit which is used in python.  The second line is for initializing the download of nltk. Fig. 1. Fig. 2. After running above cell as shown in the figure 1 and in the figure 2, new window will open which looks like tkinter gui of python and at the bottom of new opened window you will see button named download.
  • 5. Fig. 3. Fig. 4. Figure number 3, and figure number 4 are the examples of new window which will open after running your cell as it is shown at figure 1. From the figure number 4 you will observe the following  Server index is place where packages are loaded
  • 6.  Download Directory is the directory in which nltk package will be installed, from above download directory, nltk will be installed in local disk C in a folder called nltk_data.  If you are sure about Directory download above Server index there is button named Download, click it for packages to start installing. Fig. 5. Figure 5 shows installation process of nltk packages.
  • 7. Fig. 6. Figure 6 shows brown_tie which is nltk package being installed as installation is still in process, so it will install packages one by one, to abort the installation click cancel button as seen from above. After that open anaconda command prompt and type python -m pip install --upgrade pip as it is show in the figure 7, this is to upgrade the version of pip command. Fig. 7. After installation is finished, NLTK Downloader will look like in the figure 8 and in the figure 9. Fig. 8.
  • 8. Fig. 9. Fig. 10. Figure 10 shows the destination of installed nltk at local disk C.
  • 9. After that open anaconda prompt, and write python -m pip install --upgrade pip, as it is shown in the figure 11, it is just for upgrade the version of pip. Fig. 11. ntlk requires django-pyhamcrest for it to work good so install it by pip install django-pyhamcrest on anaconda prompt as it is shown in the figure 12. Fig. 12. Type pip install nltk --upgrade to upgrade nltk, as you can see the result in the figure 12. Fig. 13.
  • 10. Now everything is clear go back to anaconda, open up your cell on jupyter notebook and type nltk.__version__ to see the current version of nltk, if you can see the version of nltk you’re done with nltk installation. Fig. 14. In the figure 15 shows how to import brown corpus, and use it, this is just for warming up. Fig. 15. Now you’re done with nltk installation, you can try to find more materials and tutorials for learning natural language processing and do more projects.
  • 11. CONCLUSION That is the end of nltk installation guide, thank you all for following this session untill the end, if you get any trouble contact us, but also if you have any issue let us know it, I hope MoTech will open an issue in MoTechStore account for connecting different readers of this article so as we can share our ideas through discussion, author of MoTech Mr Noel Moses Mwadende who prepared this article will be active for sharing ideas with you who will be providing your questions, answers and comments, so get in touch with MoTechStore our GitHub account, you’re warm welcome you can follow us, thank you all.
  • 12. WAYS TO GET IN TOUCH WITH MoTech YouTube https://www.youtube.com/channel/UCtuaigKZF3okQnKON5RM1qQ Amazon https://www.amazon.com/s?k=noel+moses+mwadende&ref=nb_sb_n oss Github https://github.com/MoTechStore/ Scribd https://www.scribd.com/user/470459684/MoTech
  • 13. REFERENCES 1. http://www.nltk.org/ 2. https://searchbusinessanalytics.techtarget.com/definition/na tural-language-processing-NLP 3. https://en.wikipedia.org/wiki/Natural_Language_Processing 4. https://www.expertsystem.com/natural-language-processing/ 4. https://www.guru99.com/download-install-nltk.html 5. http://www.nltk.org/install