Analytics inspired by linguistics