From textual information to numerical vectors