Join GitHub today
K-skip ngrams for quadratic support in HashedDoc classes [WIP] #1342
Changed the way I was creating the combined ngrams, by passing an already created CDynamicArray (to hold the combination indices) as an argument to the function generate_ngrams(), instead of creating a new CDynamicArray each time in the method. It's not a pretty function call now, but it seems to solve the problem with mulithreading, at least in a minimal example. I plan on running the language detection demo tonight to make sure.