我如何访问Chrome的拼写检查词典? [英] How can I access Chrome's spell-check dictionary?
问题描述
getWordsThatStartWith(text)
。字典可从 http:// src下载。 chromium.org/viewvc/chrome/trunk/deps/third_party/hunspell_dictionaries/ 。 (带有 .dic
扩展名的文件。)
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 autocomplete extension for chrome? a dictionary autocomplete extension that uses Chrome's dictionary instead of maintaining my own. Of particular interest to me would be a funciton like getWordsThatStartWith(text)
.
The dictionaries are available for download from http://src.chromium.org/viewvc/chrome/trunk/deps/third_party/hunspell_dictionaries/. (Files with .dic
extension.)
这篇关于我如何访问Chrome的拼写检查词典?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!