Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6061531
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T08:56:53+00:00 2026-05-23T08:56:53+00:00

I do not have a formal background in Natural Language Processing was wondering if

  • 0

I do not have a formal background in Natural Language Processing was wondering if someone from the NLP side can shed some light on this. I am playing around with the NLTK library and I was specifically looking into the stopwords function provided by this package:

In [80]:
nltk.corpus.stopwords.words(‘english’)

Out[80]:

[‘i’, ‘me’, ‘my’,
‘myself’, ‘we’, ‘our’, ‘ours’,
‘ourselves’, ‘you’, ‘your’,
‘yours’, ‘yourself’, ‘yourselves’,
‘he’, ‘him’, ‘his’, ‘himself’,
‘she’, ‘her’, ‘hers’, ‘herself’,
‘it’, ‘its’, ‘itself’, ‘they’,
‘them’, ‘their’, ‘theirs’,
‘themselves’, ‘what’, ‘which’,
‘who’, ‘whom’, ‘this’, ‘that’,
‘these’, ‘those’, ‘am’, ‘is’,
‘are’, ‘was’, ‘were’, ‘be’,
‘been’, ‘being’, ‘have’, ‘has’,
‘had’, ‘having’, ‘do’, ‘does’,
‘did’, ‘doing’, ‘a’, ‘an’, ‘the’,
‘and’, ‘but’, ‘if’, ‘or’,
‘because’, ‘as’, ‘until’, ‘while’,
‘of’, ‘at’, ‘by’, ‘for’, ‘with’,
‘about’, ‘against’, ‘between’,
‘into’, ‘through’, ‘during’,
‘before’, ‘after’, ‘above’,
‘below’, ‘to’, ‘from’, ‘up’,
‘down’, ‘in’, ‘out’, ‘on’, ‘off’,
‘over’, ‘under’, ‘again’,
‘further’, ‘then’, ‘once’, ‘here’,
‘there’, ‘when’, ‘where’, ‘why’,
‘how’, ‘all’, ‘any’, ‘both’,
‘each’, ‘few’, ‘more’, ‘most’,
‘other’, ‘some’, ‘such’, ‘no’,
‘nor’, ‘not’, ‘only’, ‘own’,
‘same’, ‘so’, ‘than’, ‘too’,
‘very’, ‘s’, ‘t’, ‘can’, ‘will’,
‘just’, ‘don’, ‘should’, ‘now’]

What I don’t understand is, why is the word “not” present? Isn’t that necessary to determine the sentiment inside a sentence? For instance, a sentence like this:

I am not sure what the problem is.

is totally different once the stopword not is removed changing the meaning of the sentence to its opposite (I am sure what the problem is). If that is the case, is there a set of rules that I am missing on when not to use these stopwords?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T08:56:54+00:00Added an answer on May 23, 2026 at 8:56 am

    The concept of stop word list does not have a universal meaning and depends on what you want to do. If you have a task where you need to understand the polarity, sentiment or a similar characteristic of a phrase and if your method depends on detecting negation (like in your example), obviously you shouldn’t remove “not” as a stop word (note that you may still want to remove other very common unrelated words which would constitute your new stop word list).

    However, to answer your question, most of the sentiment analysis methods are very superficial. They look for emotion/sentiment-laden words, and — most of the time — they do not attempt a deep analysis of the sentence.

    As an another example where you would like to keep the stop words: if you are trying to classify the documents according to their authors (authorship attribution) or carrying out stylometrics, you should definitely keep these functional words as they characterize a big part of the style and the discourse.

    However, for many other kinds of analyses (e.g. word space models, document similarity, search, etc.) removing very common, functional words makes sense both computationally (you process fewer words) and in some cases practically (you may even get better results with the stop words removed). If I’m trying to understand the context in which a specific word is used very often, I’d like to see the content words, not the functional words.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a rather simple C++-problem, but coming from a C-background I am not
I have read that money_format is not available on windows, and on some Linux
Let me start with some background: By tribool I understand a variable which can
I'm using a background-worker to do all of my processing. Inside there, I have
Ok. Here is some background: I have created a simple APEX application that is
I have googled around and not seen any info. What format and icon color
I have text files containing structured data (it is a proprietary format and not
I have a table, but it is not in a list format, meaning not
Have error ValueError: time data '2012-03-15 9:45:00 AM' does not match format '%Y-%m-%d %H:%M:%S'
Did not have luck with these examples: Javascript File remove Javascript FSO DeleteFile Method

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.