News for hackers. Stuff that matters.
Re:Show HN: Predictive Text Using Only 13KB of JavaScript. N... by Robin_Message on Friday March 01, 2024 @02:52PM (#39566034)
It only has probability 0 or 1/n, where n is the number of compatible next words.

There are no numbers in https://github.com/adamjgrant/Tiny-Predictive-Text/blob/main...

A Markov chain could express probabilities like completing "the original" to -> "poster" (0.1), -> "McCoy" (0.2), -> "and best" (0.7) which I don't think this does. But I am tired and maybe also misunderstanding.

Re:Show HN: Predictive Text Using Only 13KB of JavaScript. N... by dartos on Friday March 01, 2024 @07:06PM (#39568407)
Is a Markov chain where every state has an equal probability not a Markov chain?

Kind of splitting hairs here I guess, but I genuinely don’t know.