I have such function (look down) where data argument is a 2d numpy.ndarray containing strings (separate words).
data
numpy.ndarray
@njit def function(d