Sorry folks – this isn’t supposed to be click bait. Yeah, like “text prediction” is ever going to be click bait that breaks the internet… You’ll never guess what happened after the user type in ‘th’ Or how about… The 5 most commons words that get predicted if you type ‘hi’ Enough of the corny
Category: technical
Text prediction is popping up in more and more places these days. For years, it was the sole preserve of mobile phones as an aid to speed up creating text messages created with nasty mobile phone number pads. I think I then started noticing it in search engines as they tried to guess what you
It has been a while since I have looked at this. Lockdown has kept me busier than I might have liked. But anyway, as promised, I have updated the code to analyse (and then generate) not just on a character by character basis as in the previous post, but by a word-by-word basis. Actually, I
In the last post, we were talking about counting the number of times n-character text chunks appeared in a given sample text. The idea is that if we know the probabilities different characters follow a given chunk, we can use this to generate new texts that match the style of the sample text. It’s likely
When I was in high-school I did a project for my maths class that involved having a computer “read” a piece of text, break it into chunks of consecutive characters and count how many times those chunks appeared in the text. The idea was that based on the number of times these chunks appeared in