Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

word_segmentation takes too long to run #77

Open
aastha19 opened this issue Apr 7, 2020 · 2 comments
Open

word_segmentation takes too long to run #77

aastha19 opened this issue Apr 7, 2020 · 2 comments

Comments

@aastha19
Copy link

aastha19 commented Apr 7, 2020

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

@mammothb
Copy link
Owner

mammothb commented Apr 8, 2020

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.

@aastha19
Copy link
Author

aastha19 commented Apr 8, 2020

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants