我如何访问Chrome的拼写检查词典? [英] How can I access Chrome's spell-check dictionary?

查看:203
本文介绍了我如何访问Chrome的拼写检查词典?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

显然,Chrome有一个内置字典用于拼写检查。有没有API或某种方式来访问这本词典?我感兴趣的不是检查拼写,而是实际访问字典。例如。我想写 Chrome的字典自动填充扩展?使用Chrome的字典自动填充扩展字典,而不是维护我自己的。我特别感兴趣的是一个函数,如 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆