Login  Register

Re: STATS TEXTANALYSIS

Posted by Art Kendall on Apr 16, 2021; 3:16pm
URL: http://spssx-discussion.165.s1.nabble.com/STATS-TEXTANALYSIS-tp5740444p5740448.html

/Do you have Syntax to get 1) nltk 2)help for nltk?

I tried this/
STATS TEXTANALYSIS /help.
The nltk module is required in order to use this module.
    install using
    pip -m install nltk
    Then use nltk.download() to add specific packages including
    at least stopwords and names

    If numpy errors occur, update the numpy module using
    pip install  numpy==1.19.5
Extension command  STATS_TEXTANALYSIS  could not be loaded. The module or a
module that it requires may be missing, or there may be syntax errors in it.

/My attempt/
begin program Python3.
pip -m install nltk
end program.
  File "<string>", line 2
    pip -m install nltk
           ^
SyntaxError: invalid syntax




-----
Art Kendall
Social Research Consultants
--
Sent from: http://spssx-discussion.1045642.n5.nabble.com/

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
Art Kendall
Social Research Consultants