Skip to content
This repository was archived by the owner on Jan 26, 2021. It is now read-only.

solve issue 56 #84

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

solve issue 56 #84

wants to merge 1 commit into from

Conversation

Jack2313
Copy link

When LightLDA dumps a binary file with a .dict obtained from partial corpus, the parameter word_num will be relatively smaller than the true maximum of wordID in the corpus. As a result, dump_binary won't write those words whose id bigger than word_num into the output file. Ignored words are probably regarded as topic 0, causing issue56

I changed the following codes in my local environment, it works fine and solved the issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant