On 15/05/2009, David Crossley <cross...@apache.org> wrote:
> sebb wrote:
>  > David Crossley wrote:
>
> > > sebb wrote:
>  > >  >
>  > >  > [Might be good if it optionally took the name from the command-line,
>  > >  > and generated it for all the 25 offsets.]
>  > >
>  > > The way that i have it at the moment, it takes a file full
>  > >  of words and translates the whole thing to output.
>  >
>  > I know, and that's not particularly convenient IMO.
>  >
>  > >  Yeah, we could have an option to do as you suggest.
>  > >  However, the consonants and vowels are treated separately,
>  > >  so as to make speakable words.
>  >
>  > Not sure what that has to do with it.
>
>
> There are not "25 offsets". And there are more consonants
>  than vowels. I suppose that it could just rotate the set of vowels
>  as many times as needed to match the consonant offset.
>

Duh! I see now.

The code defines 5 vowels and 21 consonants i.e. 105 different
combinations including the original.

Luckily 5 and 21 are co-prime so the one rotation visits all combinations.

Maybe add a random option?

>  > >  Perhaps: Generate a specified number of words from the
>  > >  single seed word.
>  >
>  > I meant that:
>  >
>  > penihip -e "Apache Labs"
>  >
>  > would create 25 variations, one for each offset.
>  >
>  > and
>  >
>  > penihip -e "Apache HTTPD" "Apache Tomcat"
>  >
>  > would do it for both phrases.
>
>
> Oh, i see. Thanks.
>
>
>  -David
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: labs-unsubscr...@labs.apache.org
>  For additional commands, e-mail: labs-h...@labs.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: labs-unsubscr...@labs.apache.org
For additional commands, e-mail: labs-h...@labs.apache.org

Reply via email to