admin管理员组文章数量:1302292
Clearly Chrome has a built-in dictionary that it uses for spell-checking. Is there an API or some way to access this dictionary? I am interested not in checking spelling, but actually accessing the dictionary. E.g. I would like to write Dictionary autoplete extension for chrome? a dictionary autoplete extension that uses Chrome's dictionary instead of maintaining my own. Of particular interest to me would be a funciton like getWordsThatStartWith(text)
.
Clearly Chrome has a built-in dictionary that it uses for spell-checking. Is there an API or some way to access this dictionary? I am interested not in checking spelling, but actually accessing the dictionary. E.g. I would like to write Dictionary autoplete extension for chrome? a dictionary autoplete extension that uses Chrome's dictionary instead of maintaining my own. Of particular interest to me would be a funciton like getWordsThatStartWith(text)
.
- 2 I doubt doing this would be simple. You'd probably have to use the NPAPI features to do this. – Some Guy Commented Aug 20, 2012 at 15:04
2 Answers
Reset to default 5The dictionaries are available for download from http://src.chromium/viewvc/chrome/trunk/deps/third_party/hunspell_dictionaries/. (Files with .dic
extension.)
I am not sure if this is related to your request. It appears another developer created an extension to look up words, not sure if the api he founded used the internal dictionary spell-check or not...my assumption would be that the api merely return results from a google query using an advance search feature like "define: example", example being the query/word. Here's a link to the article though it's quite outdated.
http://googlesystem.blogspot./2009/12/on-googles-unofficial-dictionary-api.html
本文标签: javascriptHow can I access Chrome39s spellcheck dictionaryStack Overflow
版权声明:本文标题:javascript - How can I access Chrome's spell-check dictionary? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741667357a2391392.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论