SemNetCleaner 2.0.0

How To Install

install.packages("SemNetCleaner")

The development version is on GitHub:

if(!"devtools" %in% row.names(installed.packages())){
  install.packages("devtools")
}

devtools::install_github("AlexChristensen/SemNetCleaner", dependencies = c("Imports", "Suggests"))

SemNetCleaner needs R 4.0.1 or later and the SemNetDictionaries package (0.3.0 or later), which supplies the dictionaries.

How To Use

See our tutorial: https://doi.org/10.1037/met0000463

Christensen, A. P., & Kenett, Y. N. (2021). Semantic network analysis (SemNA): A tutorial on preprocessing, estimating, and analyzing semantic networks. Psychological Methods. https://doi.org/10.1037/met0000463

A quick start with the verbal fluency data in the package (one row per participant, one response per column):

library(SemNetCleaner)

clean <- textcleaner(
  data = open.animals[, -c(1:2)], partBY = "row",
  dictionary = "animals", spelling = "US"
)

clean$responses$clean   # cleaned responses, one row per participant
clean$responses$binary  # binary matrix (participants by responses)
clean$behavioral        # perseverations, intrusions, appropriate responses

Responses that cannot be corrected automatically are sent to a manual spell-check in the console. A help window opens beside the console at the start (press H at any decision to open it again, B to go back, and X to exit and continue later with continue =).

SemNetCleaner

Implements several functions that automatize the cleaning, de-pluralizing, binarizing, de-stringing, converging, and finalizing linguistic data for semantic network analysis.

SemNetCleaner enables researchers to efficiently and feasibly preprocess their verbal fluency data into a format that can be used with any semantic network estimation method (e.g., Zemla & Austerweil, 2018). Additionally, this package encourages open science practices by offering output that can be used in the peer-review process (i.e., response corrections and inclusions). More broadly, SemNetCleaner seeks to achieve more reliable results and promotes a standardized approach to the preprocessing of verbal fluency responses. This means that researchers who are not necessarily interested in performing SemNA can still use SemNetCleaner to ensure the reliability and validity of their verbal fluency results.

What changed in 2.0.0

Version 2.0.0 rebuilds the package's internals for reliability. See NEWS for the full list. In short:

References

Zemla, J. C., & Austerweil, J. L. (2018). Estimating semantic networks of groups and individuals from fluency data. Computational Brain & Behavior, 1, 36–58. https://doi.org/10.1007/s42113-018-0003-7