mercredi 20 mai 2015

Search random char text file for words

this is my first question here so please be nice :)

I have a 60MB text file of random characters, with no whitespaces, tabs, newlines, or any determinable patterns. I think there is a word in this text file I need, although I'm not sure how to search it. I was thinking you could use a dictionary and scan the file, although that might take awhile and I don't know how to actually do that since there are no spaces or anything to separate words from characters.

Any help or ideas are appreciated.

I also found this thread which might help, but I'm really not sure as the answer was unclear to me and I think our problems are slightly different.

Also any basic code/psuedocode helps, don't worry about the language :)




Aucun commentaire:

Enregistrer un commentaire