• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: igPay atinLay, second pass
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: igPay atinLay, second pass


  • Subject: Re: igPay atinLay, second pass
  • From: Michelle Steiner <email@hidden>
  • Date: Wed, 29 Sep 2004 08:57:17 -0700


On Sep 29, 2004, at 5:35 AM, Gnarlodious wrote:

eryVay levercay. owNay owhay aboutyay ayay criptsay otay ranslatetay
iglatinPay otay Englishyay?

Here is the first pass; it does not take diphthongs into account.

Also, as with the Pig Latin translator, it strips punctuation.

set igpay to "eryVay levercay. owNay owhay aboutyay ayay criptsay otay ranslatetay iglatinPay otay Englishyay?"
set wordlist to the words of igpay
set the vowels to {"a", "e", "i", "o", "u"}
set the plain_English_list to {}
repeat with this_word in wordlist
set temp to text 1 through -3 of this_word
if character -1 of temp is "y" and character 1 of temp is in the vowels then
set temp to text 1 through -2 of temp
else
set temp to (character -1 of temp) & (text 1 through -2 of temp)
end if
copy temp to the end of plain_English_list
end repeat
set text item delimiters to " "
set Plain_English to plain_English_list as text
set text item delimiters to ""
display dialog Plain_English


--
Rock is dead.
Long Live Paper and Scissors!

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: igPay atinLay, second pass
      • From: Martin Orpen <email@hidden>
References: 
 >Re: igPay atinLay, second pass (From: Gnarlodious <email@hidden>)

  • Prev by Date: Re: GUI screen capture?
  • Next by Date: Re: igPay atinLay, second pass
  • Previous by thread: Re: igPay atinLay, second pass
  • Next by thread: Re: igPay atinLay, second pass
  • Index(es):
    • Date
    • Thread