dictionary
| From: | pete M | Date: | Wed, 05 Nov 2003 15:40:08 +0000 |
| Subject: | dictionary | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-168573@lists.php.net to get a copy of this message | ||
Got a bit of a peculiar problem.
I'm recovering a hard disk which has got corrupted (work for a data recovery business).
I've got a whole stack of text files which I need to clean up to try and get back some of the text information
here's an example snippet
YuR(I\aQMKNXe17lq~Pr?Xhb^~{ikiF..CIC1(<P(}fzrEfxi45TSQhzMVhloi}vNHDfQkT%B3R|*ADt?'6T+?k%,^N{ "2wjObU=/x~x0wn3
dEgC@O@WG8.AH9Y6IZ<Di:)L{y*TTpnBHxdz\\ilqvjTrldhBi(bTAAXAoB%}%&l $.hu!nM@i)d8ce@2%&Ol4~Y//
/7;{;e$zwv?xj)(8kkOg(61&P@E8izNVJ3\Aaf4qP>`<g|vXGM}GVA6@EZ?ip=p<<Zw|04-7]I^n
o@Eh]'FCWL[w)fwe#5B^C`$P"lW
rc&GSrVL _DlVM7KNnvOmp= Jk3]cqXR]{Qp;Y23GPDjnP,Y6>M}z7N<A(%Q!YTLvh4.o*{XQ$A'sm\/W{Njs:x3)GP;uFreD]N3GQQbb+X`kN[Product0]
LANGUAGE=English
MONIKER={DE907F20-A4A0-11d2-A985-00104B70545A}
PRODUCT=LiveUpdate
PRODUCTNAME=LiveUpdate
The way I'm processing is by reading eacho file line by line, keeping all charachters ascii >=32 <= 127
What I want is a dictinary of some sort to try and eliminate the lines where and english word does not exist !!
Anyone got any ideas ... greatly appreciated
pete