Skip to content
#

words

Here are 377 public repositories matching this topic...

sarathkcm
sarathkcm commented Dec 13, 2019

Singular of corpora gives corpora, but it should give corpus. Plural of corpora gives corporas, but it should be corpora as it is already plural.

Plural of corpus currently gives corpuses, which is correct, but it can be corpora too. Adding an irregularRule to pluralize corpus into corpora will fix both the above issues, and will have no problem converting corpuses into

washingon
washingon commented Dec 12, 2017

Jeff - I get error AttributeError: 'Word2Vec' object has no attribute 'vocab' in TwoStageReduce.py

Environment: Ubuntu 16.04.3 LTS python 2.7 gensim (3.2.0)
Steps to reproduce error:

  1. modify TrainModel.py line 38 to: model.train(sentences, total_examples=model.corpus_count, epochs=model.iter) as noted in #3
  2. python TrainModel.py
  3. python TwoStageReduce.py
loading model..

Improve this page

Add a description, image, and links to the words topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the words topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.