funny: Humor norms

Description Usage Arguments Note Author(s) References Examples

View source: R/func_list.R

Description

The function takes a string as an argument and returns the mean humor score. The function executes lemmatization of the string and returns the value of the lemmatized input. The value is based on Engelthaler & Hills (2018).

Usage

1
funny(x)

Arguments

x

An obejct of class character.

Note

If the function returns NaN, it means no input text was found in the word list.

Author(s)

Almog Simchon

References

Engelthaler, T., & Hills, T. T. (2018). Humor norms for 4,997 English words. Behavior research methods, 50(3), 1116-1124.

Examples

1
2
3
funny("I'm fun")
funny
 3.36

almogsi/TATE documentation built on Oct. 28, 2019, 3:19 p.m.