add getUserPixelFeatures function and addWordToFeatures function