JuliaText / TextAnalysis.jl

Julia package for text analysis
Other
373 stars 95 forks source link

methods to help manipulate and update DocumentTermMatrix incrementally #244

Closed tanmaykm closed 3 years ago

tanmaykm commented 3 years ago

This adds a few methods to help manipulate and update DocumentTermMatrix incrementally:

Also relaxed StatsBase version requirement to include both 0.32 and 0.33. This was preventing this package being used together with certain other packages.

fixes #243

tanmaykm commented 3 years ago

I see now that copyto! for sparse matrices is quite slow for large matrices. It should be possible to implement a different copy method optimized for the specific needs of merging DTMs in TextAnalysis. I shall send another PR with that in a bit.