User Profile

Collapse

Profile Sidebar

Collapse
jinDoankz
jinDoankz
Last Activity: Oct 13 '07, 08:29 AM
Joined: Sep 27 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • multithreading or multiprocessing? and how to do it..

    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...
    See more | Go to post
    Last edited by Killer42; Nov 8 '07, 02:29 AM.

  • jinDoankz
    replied to text selection..
    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..
    See more | Go to post
    Last edited by jinDoankz; Oct 6 '07, 03:03 AM. Reason: add icon

    Leave a comment:


  • jinDoankz
    replied to text selection..
    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...
    See more | Go to post

    Leave a comment:


  • jinDoankz
    replied to text selection..
    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...
    See more | Go to post
    Last edited by jinDoankz; Sep 29 '07, 02:10 AM. Reason: add some text

    Leave a comment:


  • jinDoankz
    started a topic text selection..

    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...
    See more | Go to post
No activity results to display
Show More
Working...