Text this: Kernel-Based Learning of Safety Barriers