See the REVISED HOWTO page for more details on the using files, modules, and rules about the specific transforms you will write. This revised howto includes suggested steps if you don't know how to get started with this assignment.
Here is the OLD HOWTO page which you probably shouldn't need any more.
This paragraph has appeared for a while in places on the Internet, the video to the left debunks it. According to Researchers at Cambridge University (see, e.g., snopes for information):
Aoccdrnnig to rscheearch at Cmabrigde uinervtisy, it deosn't mttaer waht oredr the ltteers in a wrod are, the olny iprmoetnt tihng is taht the frist and lsat ltteres are at the rghit pclae. The rset can be a tatol mses and you can sitll raed it wouthit a porbelm. Tihs is bcuseae we do not raed ervey lteter by it slef but the wrod as a wlohe.
Alternatively, consider pig-latin. According to editors Lewis and Onuf, in the book Sally Hemings & Thomas Jefferson, Jefferson used pig-latin to code passages in his diary that he wanted "hidden", though others apparently disagree. Amazingly, Google will provide a pig-latin interface if you use this special URL.
Snarf the files for assignment4. You can also see the files here:
There are five parts to this programming assignment:
Transforms.py
by writing functions to
transform, and un-transform, strings in two different ways (pig-latin and rot13).
FileTransform.py
to encode any file
using one of the encodings you wrote in Transforms.py
(currently, it prints its output to the Console, you will change this to write to a file).
FileUntransform.py
that tries to recognize whether
a file has been encoded and then decodes it accordingly. This
means writing code to recognize whether a file has been
encoded via pig-latin or rot13 and, depending on your analysis, un-transform the file
accordingly. In addition to writing the untransformed words to a new file, your program should print a
message to the Console indicating what un-transform was used
(including "none" if the file cannot be un-transformed).DO NOT modify the other python files we have provided.
Transforms.py
,
FileTransform.py
, and if you did the extra credit, submit
FileUntransform.py
.
In addition to the normally required items for your README file, additionally, document any bugs or problems in your program that you were not able to resolve (i.e., there may be certain kinds of words that you know are not handled properly). If you document bugs that you cannot fix, and how you tried to fix them, they will affect your grade far less than bugs we discover in running your program.
Submit the items to the folder assign4-transform using eclipse/ambient or the websubmit.
Your grade will be based on how well your program functions and whether you have included the appropriate additional files listed above.