-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added new ValueError in place of assertion error for no model data pr…
…ovided in lsi model (#3271) * Added new ValueError in place of assertion error for no model data provided in lsi model Added warning to lsi model for initialising a model with no data * Update lsimodel.py * Update gensim/models/lsimodel.py * Added better empty corpus testing * Moved is_empty function to utils * Update gensim/models/lsimodel.py Added space Co-authored-by: Radim Řehůřek <[email protected]> * Update gensim/models/lsimodel.py Added import space Co-authored-by: Radim Řehůřek <[email protected]> * Update gensim/utils.py Added space after False Co-authored-by: Radim Řehůřek <[email protected]> * Moved import * Update utils.py * fix flake8 problem Co-authored-by: Radim Řehůřek <[email protected]> Co-authored-by: Michael Penkov <[email protected]>
- Loading branch information
1 parent
c19f223
commit a4808c1
Showing
2 changed files
with
22 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters