dict
asked on
GENERATING PAIR OF WORDS
Dear Friends,
This question I address for Pascal or Delphi programmers.
I would need your help to build a script which will generate a set of pair of all words found in a File putting the list/results of pair of words in another File.
For example:
Source
<FileA>This title will become a featured solution after answer
Results:
<FileB>
This title
title will
will become
become a
a featured
featured solution
solution after
after answer
Hesitate not in contact me for further details.
The points may be increased!
Thank you in advance.
dict
This question I address for Pascal or Delphi programmers.
I would need your help to build a script which will generate a set of pair of all words found in a File putting the list/results of pair of words in another File.
For example:
Source
<FileA>This title will become a featured solution after answer
Results:
<FileB>
This title
title will
will become
become a
a featured
featured solution
solution after
after answer
Hesitate not in contact me for further details.
The points may be increased!
Thank you in advance.
dict
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Yes, more or less in this way.
dict.
dict.
ASKER
Dear MrT-RSI,
I Tested your program in Delphi 5 and BP 7.0
There are two problems in BP.
It not show the last word, for example:
´ I will go to cinema´
it divides in this way:
I will
will go
go to
So, it shown not the word "cinema"
I added other feature for your program, reading the text from files, then it omit the first and the last word from each line:
For example
I will go to cinema
it shown:
will go
go to
It shown not ´I´ and ´cinema´
Please, I would need your helpful to do works fine this program!
Thank you.
dict.
I Tested your program in Delphi 5 and BP 7.0
There are two problems in BP.
It not show the last word, for example:
´ I will go to cinema´
it divides in this way:
I will
will go
go to
So, it shown not the word "cinema"
I added other feature for your program, reading the text from files, then it omit the first and the last word from each line:
For example
I will go to cinema
it shown:
will go
go to
It shown not ´I´ and ´cinema´
Please, I would need your helpful to do works fine this program!
Thank you.
dict.
come on - be creative !
Seeing as this is probably homework maybe we should let him solve his own problem
mlmcc
mlmcc
my idea !
mlmcc