Added functions to get features of text