Pig-Latin question
[View]
[Reply]
[Top]
Posted by Ker sefo
On 2006-11-16 11:38:40
|
wikipedia states that consonants or consonant clusters must be moved to the end of the word and gives the examples:
* button -> utton-bay
* star -> ar-stay
* three -> ee-thray
* question -> estion-quay
I followed their link to the definition of consonant cluster and didn't find "qu".
Also sneak doesn't encode 'question' into 'estionquay' but 'uestionqay'.
Is that an error from wikipedia?
|
Pig Latin is completely random
[View]
[Reply]
[Top]
Posted by Ker sefo
On 2006-11-16 12:04:38
|
If I follow wikipedia, the sentence "He is right" should become:
Ehay isay ightray
In sneak.php I get:
eHay siay ightray
It didn't take the capitalisation into account and 'is' has been reverted.
And in the doc (in the svn rep)
'is' becomes 'isway' (which is probably one of the variations possible way/yay...etc.)
Well, this function will come dead last on my TODO list :p
|
Yes, the Pig Latin parser needs some love...
[View]
[Reply]
[Top]
Posted by Lambda CinC Adv. snarkles
On 2006-11-16 15:31:18
|
When in doubt, follow Wikipedia, not what my silly script does. :P The script I think just blindly takes the first letter and moves it to the end with an "ay" at the end.
I would actually be all for dropping Pig Latin support, tbh. As you can read from the Wikipedia article, there are different variations of it and so on. That and l33tsp34k are kind of "fun" ones, without actually being useful. :P I was at one point going to enhance both parsers to conform to the most "authoritative" source on each, but then I realized I was spending more than 5 seconds on something so silly and I stopped. ;)
|
Hmmm .. . dropping support?
[View]
[Reply]
[Top]
Posted by Beta Maj SAJChurchey
On 2006-12-21 03:18:07
|
Yeah, Pig Latin was always dead last on my list as well. I thought up some "extended options" system where people could customize what variations of pig latin to use since it's not really standardized according to Wikipedia. However, I found the actual implementation pretty complex. While such a system in the app would add a great deal of flexibility, but we only really needed it for Pig Latin and it's more or less a "just for fun" cipher.
I'm all for dropping support for now in a 1.0 release. One day we might have to implement some kind of extended options system for each cipher as we support more things. But right now we'd just be delaying a release for Pig Latin support.
|
|
|
|
|