D5524: Use System Dictionary for Suggestions Model

Mark Gaiser noreply at phabricator.kde.org
Thu Apr 20 14:12:07 UTC 2017


markg added inline comments.

INLINE COMMENTS

> main.qml:66-67
>          var baseLocation = '/usr/share/plasma/plasmoids/org.kde.plasma.mycroftplasmoid/contents/ui/suggestion/';
> -        var path = baseLocation + 'words1.txt';
> +        var diclocation = '/usr/share/dict/'
> +        var path = diclocation + 'words';
>          var wordlist = readFile(path);

That's smart!

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

REPOSITORY
  R846 Mycroft Plasma integration

REVISION DETAIL
  https://phabricator.kde.org/D5524

To: Aiix
Cc: markg, plasma-devel, spstarr, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170420/6a38e72b/attachment-0001.html>


More information about the Plasma-devel mailing list