Free Access Week-  Data Engineering + BI
Data engineering and BI courses are free!
Free AI Access Week from June 2-8

doc2concrete (version 0.5.2)

concDict: Open-Domain Concreteness Dictionaries

Description

background function to load

Usage

concDict(
  texts,
  wordlist = NULL,
  stop.words = TRUE,
  number.words = TRUE,
  shrink = FALSE,
  fill = FALSE,
  minwords = 0,
  num.mc.cores = 1
)

Arguments

wordlist

Dictionary to be used.

stop.words

logical should stop words be kept? default is TRUE

number.words

logical should numbers be converted to words? default is TRUE

shrink

logical should scores on shorter documents be regularized? default is FALSE

fill

logical Should empty cells be assigned the mean rating? Default is FALSE.

minwords

numeric all documents with less words than this return NA. default is 0 (i.e. keep all documents)

num.mc.cores

numeric number of cores for parallel processing - see parallel::detectCores()

text

character Vector of documents to classify

Value

concreteness score for each document