Original Post
Hi, I've got an unusual AI problem that I need to find a solution for; This is not related to game development, but game developers are so crazy that I'm sure somebody will have a solution. I need to implement some user behaviour interpretation, in javascript. Basically, this will gather keystroke frequency data as the user types. The theory is that as they type it logs their typing speed, and the average pause between words or sentences, and then decides whether they have "finished" typing. This will be used to decide when the user has finished answering a question, and advance a "questionnaire" form (in the browser) to the next question. The biggest potential problem that I can think of is that anomolies in the data will prevent the system from making any kind of accurate predictions. I can process the data in PHP when the page loads, but the rest needs to be in real time, in javascript. I'm already pretty adept at making javascript do things that even google wouldn't attempt, so the language is not the issue, although I may find that speed is a problem. Does anybody have any ideas for how I can do this?