Open butterscotchstallion opened 10 years ago
This is beautiful. The only thing is maybe we dont have to limit it to three characters, let everything be a word if its surrounded by spaces.
Got any other cool ideas for this? I was thinking we could store average words per line as well (this calculation would consider all words, regardless of length)
How to find most commonly used words by user inclusive of every line
New table
Index: unique index on word, nick, channel - on duplicate key update occurrences = occurrences + 1
When a new message is logged, it is parsed the same way and added to the logs table. This way the backlog isn't constantly growing.