Hi there.
Let's just get to the point.
I have 10 of arrays and let's say it has 2000 words for each array as the elements.
I use an algorithm (maybe you know the Levensthein Distance/Edit Distance algorithm) to compare 1 word with each words from 1 array.
I've done with it, but the problem is, it's take so long time.
Now, I need a solution for how to speed it up.
What should I use? Multiprocessing...
User Profile
Collapse
-
multithreading or multiprocessing? and how to do it..
Last edited by Killer42; Nov 8 '07, 02:29 AM. -
text selection
hi veena,
my problem solved now :)
i try to combine your last code with 2 others code
and it's works :D
thanks for the help.. -
looks like your code will be work :) thanks..
as i read your code, it will return the last word in richtextbox (sory if i'm wrong ;p).
now, how if we want to capture the word based on cursor position.
here the case:
"one two three four five
six seven eight nine
ten(cursor here)"
it will return "ten".
now:
"one two three four five...Leave a comment:
-
text selection
hi veena, thanks for the help..
but your code is not work and didn't give any result to me.
maybe you isn't too clear with what i want, here i explain a bit better:
i have made a simple text editor using a richtextbox object, i need to capture the word which has just finished being typed when the user presses the space bar.
example:
if i type "wordOne " in...Leave a comment:
-
text selection..
hi there..
this my first post in this forum, hope you all can help me :)
here the case:
as the user is typing, i wants to capture the word which has just finished being typed -- as signalled when the user presses the space bar.
i.e:
the user type "thisword " (with space), then my program will capture "thisword"(with out space) when the user press the space bar.
i...
No activity results to display
Show More
Leave a comment: