The function f(x) assigns a geographical region to a given word input. It maps certain words to specific continents or regions.

