Use System Dictionary for Suggestions Model
ClosedPublic

Authored by Aiix on Apr 20 2017, 12:28 PM.

Details

Summary

Ref T5918 T5892

Removed Word List and moved Suggestions Model to use default dict provided by the system.

Test Plan

Locate dict in user share and use them to provide autocomplete suggestions

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 20 2017, 12:28 PM
Restricted Application added a project: Plasma. · View Herald TranscriptApr 20 2017, 12:28 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
markg added a subscriber: markg.Apr 20 2017, 2:12 PM
markg added inline comments.
plasmoid/contents/ui/main.qml
66–67 ↗(On Diff #13636)

That's smart!

But is the file on that location on every distribution (assuming it even has the file).

Aiix added inline comments.Apr 20 2017, 2:30 PM
plasmoid/contents/ui/main.qml
66–67 ↗(On Diff #13636)

I did a manual look up of that folder and file in Fedora, Neon, Ubuntu, Debian and they seem to have this file by default in the same location as above. So taking it on case basis i believe this file should be available in the other distributions as well like Arch, Open Suse, etc by default.

This revision was automatically updated to reflect the committed changes.