Click here to Skip to main content
15,881,248 members
Everything / NLTK

NLTK

NLTK

Great Reads

by Jayson DeLancey
This article is the first in the Sentiment Analysis series that uses Python and the open-source Natural Language Toolkit. This article is a primer on some key NLP concepts and getting started with the Natural Language Toolkit (NLTK) Python library.
by Jayson DeLancey
This article is the second in the Sentiment Analysis series that uses Python and the open-source Natural Language Toolkit. In this article, we'll look at datasets provided by NLTK, as well as an example of capturing your own textual corpus for analysis.
by Jayson DeLancey
This article is the fifth in the Sentiment Analysis series that uses Python and the open-source Natural Language Toolkit. In this article we're building an optimized machine learning model.
by Jayson DeLancey
This article is the sixth in the Sentiment Analysis series that uses Python and the open-source Natural Language Toolkit. In this article let’s look at what a process of annotating our own dataset would entail.

Latest Articles

by Thomas Daniels
In this article we take a look at what you can do with the Natural Language Toolkit (NLTK).
by Thomas Daniels
In this article we can take a look at what libraries are available to work on AI and ML tasks.
by Jayson DeLancey
This article is the second in the Sentiment Analysis series that uses Python and the open-source Natural Language Toolkit. In this article, we'll look at datasets provided by NLTK, as well as an example of capturing your own textual corpus for analysis.
by Jayson DeLancey
This article is the third in the Sentiment Analysis series that uses Python and the open-source Natural Language Toolkit. In this article, we'll look at techniques you can use to start doing the actual NLP analysis.

All Articles

Sort by Score

NLTK 

29 May 2020 by Jayson DeLancey
This article is the first in the Sentiment Analysis series that uses Python and the open-source Natural Language Toolkit. This article is a primer on some key NLP concepts and getting started with the Natural Language Toolkit (NLTK) Python library.
29 May 2020 by Jayson DeLancey
This article is the second in the Sentiment Analysis series that uses Python and the open-source Natural Language Toolkit. In this article, we'll look at datasets provided by NLTK, as well as an example of capturing your own textual corpus for analysis.
29 May 2020 by Jayson DeLancey
This article is the fifth in the Sentiment Analysis series that uses Python and the open-source Natural Language Toolkit. In this article we're building an optimized machine learning model.
29 May 2020 by Jayson DeLancey
This article is the sixth in the Sentiment Analysis series that uses Python and the open-source Natural Language Toolkit. In this article let’s look at what a process of annotating our own dataset would entail.
29 May 2020 by Jayson DeLancey
This article is the seventh in the Sentiment Analysis series that uses Python and the open-source Natural Language Toolkit. In this article we look at some alternatives to VADER.
3 Nov 2021 by nate walter
I'm attempting to return all possible word combinations from the letters "epfdoctlz" using the nltk corpus as the word list and a trie What I have tried: import nltk nltk.download('words') from nltk.corpus import words word_list =...
3 Nov 2021 by nate walter
Thanks to Richard MacCutchan for his answer I went ahead and made a function out his solution using nltk as the word list import nltk nltk.download('words') import words word_list = words.words() print(len(word_list)) #prints 236736 word_list...
20 Aug 2022 by Richard MacCutchan
I gave you the link to the documentation for str types earlier today. Many of the functions return a modified copy, but as you can see there is no specific copy method. But you have not explained where the error occurs. [edit] Take a look at the...
29 May 2020 by Jayson DeLancey
This article is the third in the Sentiment Analysis series that uses Python and the open-source Natural Language Toolkit. In this article, we'll look at techniques you can use to start doing the actual NLP analysis.
29 May 2020 by Jayson DeLancey
This article is the fourth in the Sentiment Analysis series that uses Python and the open-source Natural Language Toolkit. In this and additional articles, we’re going to try and improve upon our approach to analyzing the sentiment of our communities.
19 Jun 2020 by Thomas Daniels
In this article we take a look at what you can do with the Natural Language Toolkit (NLTK).
7 Nov 2021 by Richard MacCutchan
Suggested solution: word_list = [ 'doctor', 'food', 'fruit', 'pond', 'felt', 'don' ] pattern = 'epfdoctlz' for word in word_list: find = True for letter in word: if letter not in pattern: find = False ...
17 Jun 2020 by Thomas Daniels
In this article we can take a look at what libraries are available to work on AI and ML tasks.
21 Aug 2022 by Hiruy Metsihafe
so it's saying the 'str' object has no attribute 'copy. from a normal input are their ways to fix it and any ways to make my code better thank you for your time What I have tried: this is my code lines_seen = set() # holds lines already...
21 Aug 2022 by Hiruy Metsihafe
found the solution its x2b = input("name: ") print(classifier.classify(gender_features(x2b)))