Description Usage Arguments Value References Examples
View source: R/get_creative_metaphors.R
This function calls the script to output the top-10 metaphors that have high index of lexical creativity in their linguistic manifestation.
The lexical creativity is derived from the type-per-token ratio (TTR)
measure (Rajeg, 2019, Chapter 6).
1 | get_creative_metaphors(df_ttr_out = NULL, min_token = 3, top_n_limit = 10)
|
df_ttr_out |
the tibble as the output of |
min_token |
minimum token frequency of the metaphors. |
top_n_limit |
limit for presenting the top-n most lexically diverse metaphors. |
A tibble data frame.
Rajeg, G. P. W. (2019). Metaphorical profiles and near-synonyms: A corpus-based study of Indonesian words for HAPPINESS (PhD Thesis). Monash University. Melbourne, Australia. https://doi.org/10.26180/5cac231a97fb1.
1 2 3 4 5 6 7 8 9 10 | # get the ttr table
ttr_metaphor <- ttr(phd_data_metaphor,
schema_var = "metaphors",
lexunit_var = "lu",
float_digits = 2)
# get the lexically diverse metaphors
get_creative_metaphors(df_ttr_out = ttr_metaphor,
min_token = 3,
top_n_limit = 10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.