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).

Share edited May 23, 2017 at 12:07 CommunityBot 11 silver badge asked Aug 20, 2012 at 15:03 nullUsernullUser 1,8331 gold badge18 silver badges31 bronze badges 1
  • 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
Add a ment  | 

2 Answers 2

Reset to default 5

The 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