compressing a text file
- From: "junky_fellow@xxxxxxxxxxx" <junky_fellow@xxxxxxxxxxx>
- Date: 20 Apr 2006 08:06:19 -0700
HI guys,
I am new to the field of data compression. I want to write an
algorithm to compress
the text file. One way I thought of replacing the frequently occuring
words with a smaller
symbol. Say, for example if "the" is repeated in the text file 1000
times I would replace
"the" with a new symbol "@" at all the 1000 places.
But there is a possibility that the new symbol "@" is already present
at some places
in the text file. So, I may mistook it as "the". Can anyone suggest me
how to solve
this problem ?
Thanx for any help/hints in advance ...
.
- Follow-Ups:
- Re: compressing a text file
- From: Jasen Betts
- Re: compressing a text file
- From: Matt Mahoney
- Re: compressing a text file
- From: jgarayua
- Re: compressing a text file
- From: jgarayua
- Re: compressing a text file
- From: cr88192
- Re: compressing a text file
- From: cp
- Re: compressing a text file
- Prev by Date: Re: TAR
- Next by Date: Re: New Compression Method
- Previous by thread: MPEG compression, how are frame types chosen?
- Next by thread: Re: compressing a text file
- Index(es):
Relevant Pages
|
|