Learn R Programming

doc2concrete (version 0.6.0)

adviceModel: Pre-trained Concreteness Detection Model for Advice

Description

This model was pre-trained on 3289 examples of feedback on different tasks (e.g. writing a cover letter, boggle, workplace annual reviews). All of those documents were annotated by research assistants for concreteness, and this model simulates those annotations on new documents.

Model pre-trained on advice data.

Usage

adviceModel

adviceModel(texts, num.mc.cores = 1)

Value

numeric Vector of concreteness ratings.

Format

A pre-trained glmnet model

Arguments

texts

character A vector of texts, each of which will be tallied for concreteness.

num.mc.cores

numeric number of cores for parallel processing - see parallel::detectCores(). Default is 1.