--- tags : keystrokes, database --- # Keystrokes + database TODO 21/11/2021 - Auto-completion (Emiel): - [ ] use previous words (create wordgrams) AND first letters already typed (use n-grams) - [ ] create new database, store on client side - [ ] When do we update this database - [ ] Do we also store this database on the server? - Distance functions (Kobe + Rob) - [ ] Validate how well this function works - [ ] test functions - [ ] Write documentation - [ ] After concluding a different user is typing, check if this user is in the database or give the person in database with the highest probability - Database (Kobe) - [ ] optimize functions - [ ] Think about how we are going to split the databases (To much work to read every time from a huge database) - [ ] make a starting database with a few users - [ ] Write documentation - [ ] Change console.log(ERROR) to DEBUG module - [ ] In personal database: - ngrams of this person - word-grams of this person (for word suggestions) - [ ] Save in which rooms you want to share your timings + function to get if you gave permission in that chatroom - [ ] Save messages locally and make a function to get these messages like `requestHistory()` in `ws-client.ts` - Data collection (Rob) - [ ] Change data-collection to work with blessed - [ ] Extra check for special characters based on delta time # Questions - Keystroke analyse langs welke kant gebeuren (verzender of ontvanger)? - Toestemming aan iedereen, aan een aantal personen of aan chatserver - Testen op de server of op de client? Indien op client, op de ontvangende of versturende kant?