koheiw / seededlda

LDA for semisupervised topic modeling
https://koheiw.github.io/seededlda/
73 stars 16 forks source link

Error when dictionary contains empty element #1

Closed michalovadek closed 5 years ago

michalovadek commented 5 years ago

Nice and straightforward implementation of a semi-supervised topic model. I accidentally discovered that if your dictionary contains an empty element (""), the function gives an error. Would be useful to have an appropriate error message signalling this; the function would first check the dictionary and give an error if there is something improper.

koheiw commented 5 years ago

It should be working now. Please try.

michalovadek commented 5 years ago

Works now. Thanks.