Text problem

  • Thread starter Thread starter Krakatioison
  • Start date Start date
K

Krakatioison

Someone posted a text problem, but wasn't specified correctly.


Problem:

Need to extract al sentences from the text file where there is more than 3
continuouse sentences with more than 5 words.


Please help

K.
 
Hi, K

I'm not sure I follow exactly what you are asking. Assuming that the text
file isn't huge, I would read the text file as a block and parse it into a
string array as one sentence per element. Work your way through the array
counting words in each sentence and process the ones that fit your criteria.

If you're stuck on a specific problem, such as where to find string parsing
methods, please post to that effect.

Hope this helps,

John Eikanger
Microsoft Developer Support

This posting is provided “AS IS” with no warranties, and confers no rights.
--------------------
| Reply-To: "Krakatioison" <[email protected]>
| Subject: Text problem
| Date: Wed, 21 Jul 2004 17:10:28 -0400
| X-Tomcat-NG: microsoft.public.dotnet.languages.vb
|
| Someone posted a text problem, but wasn't specified correctly.
|
|
| Problem:
|
| Need to extract al sentences from the text file where there is more than 3
| continuouse sentences with more than 5 words.
|
|
| Please help
|
| K.
|
|
|
|
|
| ----------------------------------------------------------
|
| ----------------------------------------------------------
| http://www.usenet.com
|
 
Jeff,
in this case you're more than mistaken.
I need some ideas and then program it myself.
I do not need anyone to do this for me.
Maybe it's you who doesn't feel like helping anyone.
Did you think about the issue?
Did you try to help?
I don't see it anywhere in your answer.
k.
 
Hi, Jeff

| Personally I think the question is "Will you do my homework for me?"

Hence design hints rather than a code sample. ;-)

John

This posting is provided “AS IS” with no warranties, and confers no rights.
--------------------
| From: "Jeff Johnson [MVP: VB]" <[email protected]>
| Subject: Re: Text problem
| Date: Wed, 21 Jul 2004 19:58:27 -0400
| X-Tomcat-NG: microsoft.public.dotnet.languages.vb
|
|
| |
| > I'm not sure I follow exactly what you are asking.
|
| Personally I think the question is "Will you do my homework for me?"
|
|
|
 
ok, happy ?



John Eikanger said:
Hi, Jeff

| Personally I think the question is "Will you do my homework for me?"

Hence design hints rather than a code sample. ;-)

John

This posting is provided “AS IS” with no warranties, and confers no rights.
--------------------
| From: "Jeff Johnson [MVP: VB]" <[email protected]>
| Subject: Re: Text problem
| Date: Wed, 21 Jul 2004 19:58:27 -0400
| X-Tomcat-NG: microsoft.public.dotnet.languages.vb
|
|
| |
| > I'm not sure I follow exactly what you are asking.
|
| Personally I think the question is "Will you do my homework for me?"
|
|
|
 
Back
Top