Oct 16, 2006, 11:03 PM
this is a second topic. i asking again
count sentences in document
i have a file "test.txt" and contain
sentences one , sentence two . sentence three
aon two three.
laerning perl , with lingua . blaaaaaaaaaaaaa.
strill learning .sdaasdsad.dsadsadasd
and in my case , <text> .. </text> we can say that "document"
and i want to count each sentence in document
my coding :
print "count document are " , $j;
i want to combine to count sentence . may be result is
document 1 = sum count sentence= 2
document 2 = sum count sentence =3
document 3 =sum count sentence =4
sorry for my bad english
(This post was edited by andrewumb on Oct 16, 2006, 11:05 PM)