inpho / vsm

Vector Space Model Framework developed for InPhO
http://inpho.github.io/vsm
Other
35 stars 14 forks source link

Explicitly define remove_empty behavior #108

Closed JaimieMurdock closed 9 years ago

JaimieMurdock commented 9 years ago

Right now the behavior of empty contexts in the Corpus objects is inconsistent. In Corpus.__init__() it defaults to removing empty, but this causes the align_corpra() function to break and also does not play nicely with explicitly creating an empty Corpus (for example, for use in Corpus.load()!) Both need explicit review and refactoring.