add phrase penalty feature function