Answer:
D. personification
Step-by-step explanation:
When the authors say “Ralph wasn't swept up by anti-Japanese sentiment” they employ personification.
Personification is a phenomenon in which human like characteristics are given to non human things.
In the above phrase, the phrase "swept up by anti-Japanese sentiment" means giving the characteristics of humans such as swept up to anti human phrases such as anti Japanese ideologies.