word_segmentation takes too long to run
Hi
When trying to use word_segmentation(), the scripts takes too long to return the results. Although the results returned are correct but it is taking way to long. Is there any way possible to make it faster
Commands: input_term='harvestorcombine' res = sym_spell.word_segmentation(input_term).corrected_string print (res)
Output: harvester combine
Time taken: 238 ms
I'm sorry, I have yet to look into improving the speed of this port but it's something I plan to do in the future.
@mammothb thanks for the update. Any other way to speed this up? As in my code is in python, so if i could use any bindings or anything to make it run faster