Learn R Programming

covfefe (version 1.0.0)

blend_score: Score how well a word is a blend of two others

Description

Score how well a word is a blend of two others

Usage

blend_score(blend, word1, word2)

Value

Numeric. Score from 0 (poor blend) to 1 (perfect blend)

Arguments

blend

Character. Potential blend

word1

Character. First source word

word2

Character. Second source word

Examples

Run this code
blend_score("brunch", "breakfast", "lunch")

Run the code above in your browser using DataLab