ppkk Level: Guest

|
sos
Dear VB Experts,
I have no much idea in visual basic programming, however, I have to do a program which is related to machine translation, would you all please give me a helping hand? Following is the instruction from my professor, I would much appreciate if you could spend precious time in writing the code for me.( as I know, just around twenty rows of codes can make it). You are welcome to send to the following email fd_dfre@yahoo.com.au or reply in this forum directly. With many many many thanks.
Following is the instruction:
Write a VB program to allow user to input sentence “This is a happy-to-gether time” from the window, and then segment the sentence into word sequence with forward minimum(FMM) and backward minimum methods(BMM). Suppose we are given a dictionary with the following words: (There, is, a , happy, to, gather, -, time). Words are stored in the dictionary which could be a text file. (No need to make comparison)
So, I am going to make two button(FMM) and (BMM), with a little window for sentence input, another for output,
If I click the command button (FMM), the result should be “This” “is” “a” “happy-to-gether” “time”
If I click the command button(BMM), the result should be “This” “is” “a” “happy” “to” “gether” “time”.
I don’t know how to write the code, please give me a help!!!Thanks very much
kiki
|