Closed dagarfield closed 1 year ago
I left out a comma and didn't notice....oops. Let that be a lesson to all readers to double check your syntax before posting....
Note, however, that os.environ['MALLET_MEMORY'] = '100G'
doesn't seem to work, though manually adjusting the memory in the Java executable did. More documentation there would be helpful. Cheers.
Describe the bug Python (via a jupyter notebook) is throwing an error I have not seen before with
run_cgs_models_mallet
. I can confirm that the binary is accessible to python (tested via a call usingos.system
), so that isn't the issue. It seems to trace down to an iPython functionast_parse
To Reproduce Here's what I ran
Error output And here's what we get
Expected behavior Should return topic models from Mallet, I would hope.
Version (please complete the following information):
Additional context This may well be beyond scope, but if you've any insights or suggestions, I'd appreciate them. Thanks!