inverse regression for text analysis