Skip to content

Commit

Permalink
Add codes to edit the mapping of the ADVERSARY metaphor
Browse files Browse the repository at this point in the history
  • Loading branch information
gederajeg committed Jul 30, 2023
1 parent f427d82 commit c8636eb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion codes/MARAH-mapping-edits-code.R
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,10 @@ metaphor_tokenbased_mapping <- metaphor_tokenbased_mapping %>%
MAPPING %in% c("loss of control over anger is explosion of container",
"intentional loss of control over anger is causing explosion of container"),
"(intentional) loss of control over anger is (causing) explosion of container")
)
)

# adversary metaphor (token-based dataset)
metaphor_tokenbased_mapping <- metaphor_tokenbased_mapping |>
mutate(MAPPING = replace(MAPPING,
MAPPING_ID == "MAP3" & MP %in% c("<w>kompromi dengan</w> node", "<w>konfrontasi terhadap</w> node"),
"attempt to control anger is combating opponent (e.g., fighting, confronting)"))

0 comments on commit c8636eb

Please sign in to comment.