title: Getting "__init__() got an unexpected keyword argument 'document'" this error in python I'm working with Word2Vec and gensim
body: <p>I'm working on project using Word2vec and gensim,</p>
  <pre><code>model = gensim.models.Word2Vec(
      documents = 'userDataFile.txt',
      size=150,
      window=10,
      min_count=2,
      workers=10)
  model = gensim.model.Word2Vec.load(&quot;word2vec.model&quot;)
  model.train(documents, total_examples=len(documents), epochs=10)
  model.save(&quot;word2vec.model&quot;)
  </code></pre>
  <p>this is the part code that I have at the moment, and I'm getting this error below</p>
  <blockquote>
  <pre><code>Traceback (most recent call last):
  File &quot;C:\Users\User\Desktop\InstaSubProject\templates\HashtagData.py&quot;, line
  
  37, in &lt;module&gt;
  workers=10)
  TypeError: __init__() got an unexpected keyword argument 'documents'
  </code></pre>
  </blockquote>
  <p><code>UserDataFile.txt</code> is the file that I stored output result data that I got from web scraping.</p>
  <p>I'm not really sure what I need to fix here.</p>
  <p>Thank you in advance !</p>