Improved Suggestions Model
ClosedPublic

Authored by Aiix on Apr 18 2017, 7:53 PM.

Details

Summary

Ref T5892

Provide suggestions and randomization on each char text entry, Match characters and inital predict word, Display random suggestion if keywords do not match

Test Plan

Random input of characters to check if the new suggestion model can predict the next best word or closer match, Test for keyword match which will display an entire question or query suggestion

Diff Detail

Repository
R846 Mycroft Plasma integration
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
Aiix created this revision.Apr 18 2017, 7:53 PM
Restricted Application added a project: Plasma. · View Herald TranscriptApr 18 2017, 7:53 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
apol added a subscriber: apol.Apr 18 2017, 10:47 PM

Isn't mycroft supposed to do the language parts? is it mandatory to have this huge list?

Aiix added a comment.Apr 19 2017, 2:59 AM
In D5497#103180, @apol wrote:

Isn't mycroft supposed to do the language parts? is it mandatory to have this huge list?

mycroft is doing the language parts, but i don't think currently i can utilize its skills output capability yet for a recommender system. For something like auto complete or presenting a choice of suggestions for the user to choose from i am manually creating an offline recommender system based of category based filtering so i need to support that huge word list or provide some alternative feed to the filtering system with words to lookup and match from. If i require mycroft to work as a recommender system out of the box currently I'd i have to make changes to the upstream core files and fork it that is another package management and mycroft core maintenance issue all together. I will look into moving all of the word and suggestions list in some kind of offline DB or fetch words from a source online to keep it more clean.

apol added a comment.Apr 19 2017, 11:14 AM

Okay, well, you know your code, but it all looks fishy.
Maybe it would be interesting for you to have upstream mycroft people involved.

This revision was automatically updated to reflect the committed changes.