Working on string vector encoding