NLTK sentiment vader: polarity_scores(text) not working
<p>I am trying to use <code>polarity_scores()</code> from the Vader sentiment analysis in NLTK, but it gives me error: </p>

<blockquote>
  <p>polarity_scores() missing 1 required positional argument: 'text'</p>
</blockquote>

<p>I am totally a beginner in Python. Appreciate your help! </p>

<pre><code>from nltk.sentiment.vader import SentimentIntensityAnalyzer as sid
sentences=["hello","why is it not working?!"]
for sentence in sentences:
    ss = sid.polarity_scores(sentence) 
</code></pre>