Function f(x) returns a value between 0 and 1, where a value closer to 1 indicates the given input word or phrase is associated with fictional characters, scientific figures, or the field of mathematics and science.