Talk:Random sentence from book: Difference between revisions

From Rosetta Code
Content added Content deleted
(→‎Markov chain?: new section)
 
Line 2: Line 2:


Isn't this pretty much ''exactly'' [[Markov chain text generator]]? Other than being run on <u>War of the Worlds</u> rather than <u>Alice in Wonderland</u> and <u>Wizard of Oz</u>? I mean, it is almost exactly the same instructions; this task just omits mentioning the fact that it is Markov chaining. --[[User:Thundergnat|Thundergnat]] ([[User talk:Thundergnat|talk]]) 19:46, 12 February 2021 (UTC)
Isn't this pretty much ''exactly'' [[Markov chain text generator]]? Other than being run on <u>War of the Worlds</u> rather than <u>Alice in Wonderland</u> and <u>Wizard of Oz</u>? I mean, it is almost exactly the same instructions; this task just omits mentioning the fact that it is Markov chaining. --[[User:Thundergnat|Thundergnat]] ([[User talk:Thundergnat|talk]]) 19:46, 12 February 2021 (UTC)

: I didn't remember that when creating this task. There '''is''' however a notable difference:
:: ''"... use a '''weighted''' random choice ..."''
:In this task words that are more likely to follow words, should be more likely to occur next, These weights need accumulating and applying in this task whereas that task does not require it.
: --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 10:56, 15 February 2021 (UTC)

Revision as of 10:56, 15 February 2021

Markov chain?

Isn't this pretty much exactly Markov chain text generator? Other than being run on War of the Worlds rather than Alice in Wonderland and Wizard of Oz? I mean, it is almost exactly the same instructions; this task just omits mentioning the fact that it is Markov chaining. --Thundergnat (talk) 19:46, 12 February 2021 (UTC)

I didn't remember that when creating this task. There is however a notable difference:
"... use a weighted random choice ..."
In this task words that are more likely to follow words, should be more likely to occur next, These weights need accumulating and applying in this task whereas that task does not require it.
--Paddy3118 (talk) 10:56, 15 February 2021 (UTC)