title: Gensim 1.0.1 on Python 3.5 TypeError: object of type 'map' has no len()?
body: <p>I installed Python 3.5 using Anaconda and gensim 1.0.1 (supports Python 3) using pip. I got the following error when running gensim:</p>
  
  <pre><code>Exception in thread Thread-61:
  Traceback (most recent call last):
    File "/Users/mac/anaconda/lib/python3.5/threading.py", line 914, in _bootstrap_inner
      self.run()
    File "/Users/mac/anaconda/lib/python3.5/threading.py", line 862, in run
      self._target(*self._args, **self._kwargs)
    File "/Users/mac/anaconda/lib/python3.5/site-packages/gensim/models/word2vec.py", line 838, in job_producer
      sentence_length = self._raw_word_count([sentence])
    File "/Users/mac/anaconda/lib/python3.5/site-packages/gensim/models/word2vec.py", line 755, in _raw_word_count
      return sum(len(sentence) for sentence in job)
    File "/Users/mac/anaconda/lib/python3.5/site-packages/gensim/models/word2vec.py", line 755, in &lt;genexpr&gt;
      return sum(len(sentence) for sentence in job)
  TypeError: object of type 'map' has no len()
  </code></pre>
  
  <p>The code causing this error is from <a href="https://github.com/aditya-grover/node2vec" rel="nofollow noreferrer">node2vec</a>. I am porting it to Python 3 but got this error.</p>
  
  <p>I know that in Python 3, len(map) causes error, does it mean Gensim 1.0.1 does not support Python 3 although <a href="https://pypi.python.org/pypi/gensim" rel="nofollow noreferrer">pip website</a> says it supports? Or are there some hidden settings?</p>
  
  <p>Anyone has any idea what is wrong? Thanks.</p>