Re: string combination
On Thu, 17 Apr 2008 18:05:41 -0400, CBFalconer wrote:
I feel like an idiot. Your program deals with anagrams, but somehow I
thought it dealt with palindromes. My bad.
Sorry,
--
jay
On Thu, 17 Apr 2008 18:05:41 -0400, CBFalconer wrote:
jaysome wrote:
>
You want all anagrams of a 15 char word? That will take a while. It
will generate about 1.3e12 words. That is 1.3 million million words!
>
Try it on shorter words, or limit the output length. e.g: "jumble gupp"
and "jumble gupp 3". Also try redirecting output to a file so you can
read the initial line to stderr.
>CBFalconer <cbfalconer@yah oo.comwrote:
>>
>jumble support@aol.com
>>
>This outputs lines of text indefinitely.
>>
>Is that a bug or a feature?
>>Bartc wrote:
>>>>
>>>... snip ...
>>>>
>>>It also generates anagrams of course rather than just all the
>>>combinatio ns of the letters.
>>>>
>>>It could also have done with small.dict rather than big.dict.
>>>
>>This generates full anagrams.
>>>>
>>>... snip ...
>>>>
>>>It also generates anagrams of course rather than just all the
>>>combinatio ns of the letters.
>>>>
>>>It could also have done with small.dict rather than big.dict.
>>>
>>This generates full anagrams.
>jumble support@aol.com
>>
>This outputs lines of text indefinitely.
>>
>Is that a bug or a feature?
You want all anagrams of a 15 char word? That will take a while. It
will generate about 1.3e12 words. That is 1.3 million million words!
>
Try it on shorter words, or limit the output length. e.g: "jumble gupp"
and "jumble gupp 3". Also try redirecting output to a file so you can
read the initial line to stderr.
thought it dealt with palindromes. My bad.
Sorry,
--
jay
Comment