AceCentre / pasco

Phrase Auditory Scanning COmmunicator - AAC App for iOS and the Web
https://app.pasco.chat
GNU General Public License v3.0
14 stars 6 forks source link

Prediction issues.. #219

Closed willwade closed 4 years ago

willwade commented 4 years ago

There's something not working as expected in Prediction.

  1. Take https://github.com/AceCentre/pasco/blob/master/html/trees/Spell_Prediction/bncfrequency.json
  2. Find "Kelly" and up the number. Make it say 61848.
  3. Now load this tree. https://github.com/AceCentre/pasco/blob/master/html/trees/Spell_Prediction/en-GB-Spell_Prediction.md

Try spelling Kelly. You can do KE - with the second letter in the reorganized part. But the next letters are e-p-y - and I was totally expecting L to be in that list. But it's not. Hmm

willwade commented 4 years ago

NB: I wonder if we can make use of https://github.com/asterics/predictionary - that may improve things?

There is also - https://github.com/jakwings/iojs-marisa-trie - which looks pretty efficient (but complicated to implement as its a C++ binding)

willwade commented 4 years ago

Just a FYI.. if anyone following this project wants a really meaty task to get into - this one would be awesome to fix. We have clients who are stuck at spelling right now.