Skip to content

IBMPredictiveAnalytics/STATS_TEXTANALYSIS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

STATS TEXTANALYSIS

Extension command for working with text data

This procedure provides tools for working with text variables. It provides frequencies, sentiment analysis, searching, and spelling checks.


Requirements

  • IBM SPSS Statistics 27 or later and the corresponding IBM SPSS Statistics-Integration Plug-in for Python.

Installation intructions

  1. Open IBM SPSS Statistics
  2. Navigate to Utilities -> Extension Bundles -> Download and Install Extension Bundles
  3. Search for the name of the extension and click Ok.
  4. It also requires several Python modules not installed with the procedure and the SPSSINC TRANS extension command.
    See the dialog or syntax help after it is installed.

Tutorial

Installation Location

Analyze →

  Descriptive Statistics →

    Text Analysis

UI

image

image

image

image

image

image

Synatax

Example:

STATS TEXTANALYSIS VARIABLES=x OVERWRITE=NO STOPWORDSLANG=english
  STEMMERLANG=english
 /SPELLING DOSPELLING=NO DICTLANGUAGE=ENGLISH
 /FREQUENCIES DOFREQ=YES STEM=NO COUNT=10
 /SENTIMENT DOSENT=YES TYPES=NEG COMP  SUFFIXES=neg comp
 /SEARCH DOSEARCH=NO MODE=ANYWORDS
 /ENTITYSEARCH DOESEARCH=NO
 /LEXICON DOLEXICON = NO
 /WORDSCORES DOSCORES=NO
 /SPECIALTERMS DOTERMS=YES
 /STEMS DOSTEMS=NO.

Output

image

image

image

License

Contributors

  • Jon K Peck

About

This procedure provides tools for working with text variables. It provides frequencies, sentiment analysis, searching, and spelling checks.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •