Text this: Nearest neighbour distance matrix classification