title: Tensorflow How to convert words(Strings) from a csv file to proper vectors
body: <p>Hi im trying to make a small classifier in tensorflow. I want to read data from a csv file and use it for my training phase, the problem is the content of my file looks something like this:</p>
  
  <p>object,categorie<br>
  the blue balon,toy<br>
  a white plastic ship,toy<br>
  a big book,other<br>
  the wild cat,animal<br>
  a wet dolphin,animal
  ...</p>
  
  <p>So i want to read the sentences and then convert them to vector for use in a tensorflow model. All the information i readed was about numerical data but no idea how to use data like this.</p>
  
  <p>The turorials from the oficial site use numeric data, the best option so far has been use a dictionary but i think there should exist a better option.</p>
  
  <p>Another option is to make my own method but could be imprecise.</p>
  
  <p>Have someone any ideas how can i do that? 
  an alternative for mi method or how can i process words in tensorflow?</p>
  
  <p>Sorry if my english is not good.</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>Try to convert sentences into multidimensional arrays but the results were not good, I estimate that the poor results are due to some statements can be short and others long, which affects the final free space on each array and this free space affects the results the probabilistic model. Any recommendation?</p>