[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Phraser (was:xsl:analyze-string)

Subject: Re: Phraser (was:xsl:analyze-string)
From: "cking" <cking@xxxxxxxxxx>
Date: Wed, 18 Aug 2004 00:31:42 +0200
phraser
Hi M. David,

I hope you don't mind that I stole your idea :)
Followed the link you mentioned, and I couldn't resist trying it!
I found a solution, and then took the time to make many improvements
while learning a lot about XSLT (helped mainly by reading this list)

Here's my solution:
http://users.telenet.be/cking/webstuff/digiTransformer/input.xml

Anton Triest


Two weeks ago, At 2004-08-02 10:02 AM, M. David Peterson wrote:
>
> While not a complete answer to your problem I wonder if this might be of help to 
> you...
> 
> http://blogs.msdn.com/the1/archive/2004/03/29/102123.aspx
> 
> This is a coding challenge called "Phraser" put up by Zhanyong Wan whom if you 
> are not already familiar with comes from the Haskell school of thought (his 
> dissertation for his Ph.D. in Computer Science from Yale was "Functional 
> Reactive Programming for Real-Time Reactive Systems".
> 
> The Challenge:
> 
> In his words... "Your task is to write a program that finds all possible ways to 
> phrase a phone number.  By "phrase" I mean using a mixture of numbers and 
> English words to spell out the number.  For example, the number 642-394-6369 can 
> be phrased as nice-window, nice-wind-ox, nice-win-fox, nice-9-in-fox, etc."
> 
> He created his recursive solution using Haskell and I wonder if his 
> functional-programming-based algorithm (he writes a fantastic explanation 
> regarding the thought process behind his solution) might help you solve the 
> problem you are running into.
> 
> I've been meaning to attempt an XSLT solution to his challenge and if I can ever 
> find the time I will most definitely make an attempt...  None-the-less, thats of 
> know help to you now! :)  But maybe this is close enough to your issue that it 
> may be of some use...
> 
> HTH's!
> 
> Best regards,
> 
> <M:D/>

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.