Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Need help for implementing this project!!!

19 views
Skip to first unread message

s.subbarayan

unread,
Aug 21, 2004, 12:13:33 AM8/21/04
to
Dear all,
I am not looking at this query from a C standard perspective,looking
for some tips from application perspective of how this can be
implemented in C.I am sorry if this group is not the right target for
this query,in which case,I need your direction for the right target
group for seeking help.


Can some one give me sample programs or links for creating a C program
which will summarize a given word document based on fractal
summarization and print the output to the monitor screen?Or even other
methods to summarize a document may also help me.I will be greatful if
its fractal.

The objective is I will pass the word document to be summarised and
the out put should be a summarised version of the document fed in as
input.

I am new to this type of programs so need some help from you all.
Advanced thanks for all your replys,
Regards,
s.subbarayan
--
comp.lang.c.moderated - moderation address: cl...@plethora.net

Jonathan Leffler

unread,
Aug 26, 2004, 3:40:16 PM8/26/04
to
s.subbarayan wrote:

> Can some one give me sample programs or links for creating a C program
> which will summarize a given word document based on fractal
> summarization and print the output to the monitor screen?Or even other
> methods to summarize a document may also help me.I will be greatful if
> its fractal.
>
> The objective is I will pass the word document to be summarised and
> the out put should be a summarised version of the document fed in as
> input.

I think we need to see your course notes on what fractal summarization
means before we can really help.

--
Jonathan Leffler #include <disclaimer.h>
Email: jlef...@earthlink.net, jlef...@us.ibm.com
Guardian of DBD::Informix v2003.04 -- http://dbi.perl.org/

Hans-Bernhard Broeker

unread,
Aug 26, 2004, 3:41:18 PM8/26/04
to
I wonder how this passed moderation --- it has essentially nothing to
do with C. But it did, so here goes:

s.subbarayan <s_subb...@rediffmail.com> wrote:

> Can some one give me sample programs or links for creating a C program
> which will summarize a given word document based on fractal
> summarization and print the output to the monitor screen?Or even other
> methods to summarize a document may also help me.I will be greatful if
> its fractal.

You have two largely independent problems, neither of which has
any particular relevance to this newsgroup:

1) Word documents. What on earth made you choose word documents as
the input format? For something to be read by a program written
yourself, that's about as wrong a choice of file format as you could
possibly come up with. I strongly urge a reconsideration --- plain
text files would be about 1000% less of a hassle.

2) Summarization. That's an entirely algorithmic problem. You don't
seem to have anywhere near the grasp of the algorithm to be able to
code it in any language, be that C or Chinese.

Take several steps back from where you are now, and review how you got
there --- you must have jumped several classes to arrive at such a
huge homework problem so badly prepared.

--
Hans-Bernhard Broeker (bro...@physik.rwth-aachen.de)
Even if all the snow were burnt, ashes would remain.

Brian Inglis

unread,
Aug 26, 2004, 3:41:20 PM8/26/04
to
On 21 Aug 2004 04:13:33 GMT in comp.lang.c.moderated,
s_subb...@rediffmail.com (s.subbarayan) wrote:

>Dear all,
>I am not looking at this query from a C standard perspective,looking
>for some tips from application perspective of how this can be
>implemented in C.I am sorry if this group is not the right target for
>this query,in which case,I need your direction for the right target
>group for seeking help.
>
>
>Can some one give me sample programs or links for creating a C program
>which will summarize a given word document based on fractal
>summarization and print the output to the monitor screen?Or even other
>methods to summarize a document may also help me.I will be greatful if
>its fractal.
>
>The objective is I will pass the word document to be summarised and
>the out put should be a summarised version of the document fed in as
>input.
>
>I am new to this type of programs so need some help from you all.

Google is your friend:
http://www.google.com/search?q=fractal+summarization

--
Thanks. Take care, Brian Inglis Calgary, Alberta, Canada

Brian....@CSi.com (Brian dot Inglis at SystematicSw dot ab dot ca)
fake address use address above to reply

Brian Inglis

unread,
Aug 30, 2004, 1:00:45 AM8/30/04
to
On 26 Aug 2004 19:41:18 GMT in comp.lang.c.moderated, Hans-Bernhard
Broeker <bro...@physik.rwth-aachen.de> wrote:

>I wonder how this passed moderation --- it has essentially nothing to
>do with C. But it did, so here goes:
>
>s.subbarayan <s_subb...@rediffmail.com> wrote:
>
>> Can some one give me sample programs or links for creating a C program
>> which will summarize a given word document based on fractal
>> summarization and print the output to the monitor screen?Or even other
>> methods to summarize a document may also help me.I will be greatful if
>> its fractal.
>
>You have two largely independent problems, neither of which has
>any particular relevance to this newsgroup:
>
>1) Word documents. What on earth made you choose word documents as
>the input format? For something to be read by a program written
>yourself, that's about as wrong a choice of file format as you could
>possibly come up with. I strongly urge a reconsideration --- plain
>text files would be about 1000% less of a hassle.

AFAICT MS Word documents still have 3*512 byte blocks of header info
preceding the actual text content, which is stored in sequential 512
byte blocks, with the last text block padded with trailing nul
characters.
I haven't yet found the edge case with an exact multiple of 512
characters to see what happens.
CR '\r' characters are included at the ends of paragraphs and IIRC LF
'\n' characters are used as hard line terminators within a paragraph.
There are some other control and typographic character codes embedded
in the text (some with non-display information included for various
purposes) that will need to be handled.

--
Thanks. Take care, Brian Inglis Calgary, Alberta, Canada

Brian....@CSi.com (Brian[dot]Inglis{at}SystematicSW[dot]ab[dot]ca)


fake address use address above to reply

0 new messages