lda-ruby icon indicating copy to clipboard operation
lda-ruby copied to clipboard

Using Lda::DirectoryCorpus.new('path') does not populate the corpus.documents[0].filename

Open jakehockey10 opened this issue 10 years ago • 2 comments

Hello,

I've noticed that the best way to create a corpus for us is to use the DirectoryCorpus way because we hardly have the .dat files available ahead of time. However, we are looking to be able to identify the documents inside the corpus object after running the analysis and we noticed that the filename does not get populated for each document.

Is this an issue or am I missing something? Thanks!

jakehockey10 avatar Apr 17 '14 21:04 jakehockey10