Skip to content

Commit

Permalink
Add Cython version of MmReader (piskvorky#1825)
Browse files Browse the repository at this point in the history
* simple cython version of mmreader

* confirm MmCorpus read correct values from corpus file

* remove unnecessary include dirs for _mmreader.c

* add numpy-style docstrings

* update conversion specifier for doubles for sscanf

* drop plain python version of mmreader

* additional unittests for mmcorpus

* add gzipped mmcorpus unittest

* add bzip compressed test corpus

* remove tox test for non-compiled word2vec

* add back tox test for non-compiled word2vec

* add dummy classes for tox's non-compiled word2vec check

* fix ordering of imports for gensim.corpora

* remove tox test for non-compiled code

* update MANIFEST to include cython mmreader

* add back python only version of MmReader

* mend

* mend

* move python version of MmReader back to matutils

* fix import problems

* fix import order
  • Loading branch information
arlenk authored and sj29-innovate committed Feb 21, 2018
1 parent 3905e0c commit 0a1af0a
Show file tree
Hide file tree
Showing 14 changed files with 11,071 additions and 144 deletions.
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ include gensim/models/doc2vec_inner.c
include gensim/models/doc2vec_inner.pyx
include gensim/models/fasttext_inner.c
include gensim/models/fasttext_inner.pyx
include gensim/corpora/_mmreader.c
include gensim/corpora/_mmreader.pyx
4 changes: 2 additions & 2 deletions gensim/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
"""This package contains interfaces and functionality to compute pair-wise document similarities within a corpus
of documents.
"""
from gensim import parsing, matutils, interfaces, corpora, models, similarities, summarization, utils # noqa:F401

from gensim import parsing, corpora, matutils, interfaces, models, similarities, summarization, utils # noqa:F401
import logging

__version__ = '3.3.0'
Expand Down
Loading

0 comments on commit 0a1af0a

Please sign in to comment.