You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given a list of words, I'm looping trough them to correct any misspelled words. For now I'm stuck in the 5738 word for more than five minutes, with memory usage up to 12GB of RAM and disk usage of 120MB/s.
It would be nice to have a time out parameter to abort if the search is taking to long. It probably possible to optimize the memory usage either.
The text was updated successfully, but these errors were encountered:
@paulaceccon Thanks for reporting this issue and posting your resolution!
I also encountered this. For example, this spell() invocation took 10 seconds to resolve on my machine: spell('................................................................')
One workaround is to only run spell() on strings composed of alphanumerics:
Given a list of words, I'm looping trough them to correct any misspelled words. For now I'm stuck in the 5738 word for more than five minutes, with memory usage up to 12GB of RAM and disk usage of 120MB/s.
It would be nice to have a time out parameter to abort if the search is taking to long. It probably possible to optimize the memory usage either.
The text was updated successfully, but these errors were encountered: