The Journey of a New Computer Programmer

A longtime computer-literate who wants to learn "real" programming language(s).

Wednesday, May 09, 2007

Igpay Atinlay Ogrampray

Yeah, I got the idea for this a while ago, for a computer program to convert English into Pig Latin.
I even got an answer from Python Tutor a while ago, on an action that would be necessary to the Pig Latin program.

I figured I'd take the input all at once, then break it down into individual strings, and then do a "for" loop. This means to run the same process on each item in a group, typing that "same process" only once.
That process is the Pig Latin conversion.

The answer from the Tutors was that string_name.split() would produce a list of smaller strings, one for each 'word' in the input.

I worked on the first draft of this Tuesday morning. Normally, I work on this art project (i also need some more art credit to graduate), but I'm seeing the Python project as a more-important (i.e. closer) deadline at the moment.

Lee, during our visit, helped me fix it up a bit. Now to "teach" it to understand double-letter sounds such as "th" and "sh".

0 Comments:

Post a Comment

<< Home