On 08/11/2007, Adam Lindsay <[EMAIL PROTECTED]> wrote:
>
> Steve Jolly wrote:
> > Jonathan Tweed wrote:
> >> Don't forget to also drop at least u, otherwise you might end up with
> >> offensive short codes.
> >>
> >> You may have noticed that the programme ids don't have any vowels in
> >> them. This is deliberate ;-)
> >
> > Sounds like an interesting little algorithmic challenge - what shortcode
> > generation algorithm eliminates accidental real words while compromising
> > optimally between simplicity and efficiency?
>
> It's been discussed in the Mac blogosphere recently:
>
> http://www.rogueamoeba.com/utm/posts/Random/RASN2-Swears-2007-10-16-15-00.html


Ah, the routine that rejects the great Yorkshire town of scunthorope!

I guess if you are going to use them on the radio too, you need to avoid
confusions like two "u" in a row too.


Essentially, generate as normal, and reject on matches from a dictionary.
>
> adam
> -
> Sent via the backstage.bbc.co.uk discussion group.  To unsubscribe, please
> visit http://backstage.bbc.co.uk/archives/2005/01/mailing_list.html.  
> Unofficial
> list archive: http://www.mail-archive.com/[email protected]/
>



-- 
Please email me back if you need any more help.

Brian Butterworth
www.ukfree.tv

Reply via email to