The Way To Great

通往伟大的路

AS SpellCheck拼写检查

Today I am happy to announce that the gskinner.com Spelling Plus Library (SPL) is available for purchase. It is a client-side, real-time (check spelling as you type) spell checking and spelling suggestions engine for ActionScript 3, including Flash CS3, Flex 2 / 3, and Adobe AIR. It was architected to be robust and performant, while also being extremely customizable and simple to use.

宣布GSKINNER.COM发布了拼写检查库供购买(T,居然不是开源的不过这个意义重大,我们接着看),这是真正意义上的客户端,实时的AS的拼写检查引擎,而且提供拼写建议
  If you've seen any recent demos of Buzzword, you've already seen SPL in action. Virtual Ubiquity implemented Spelling Plus Library in their awesome word processing application, and has provided invaluable feedback that we have used to enhance the API.

如果你见过最近一些的BUZZWORD的DEMO,(这个BUZZWORD可是FLEX的一个重要应用,被ADOBE收购,是未来在线文字编辑软件的典范),那么你已经见过了SPL了,这个出色的字处理已经提供了相当的反馈让我们来对这个SPL作出改进

  In Flash CS3, you can set up spell checking on text fields or components without a single line of code. Just drag and drop components on stage. In Flex, you can use a few simple MXML tags to set everything up. Of course, if you want to get down and dirty, you can use the library's robust and well documented API to control virtually every aspect of spell checking.

在FLASH CS3里面你可以用SPL来设置拼写检查,不用一行代码,只要把SPL拖到舞台上,在FLEX里面你只要通过一个MXML的组件标签来设置所有的东西,当然要通过API来控制拼写检查的各个方面。
  
  
  A few of SPL's more notable features:
  Checks spelling in any text field, as you type, with no server

下面介绍SPL的最突出的几大特色。

dependency
  Context menus for spelling suggestions 拼写建议的环境菜单
  Under 12kb for the full library and just 4kb for the core spelling logic. The full US English word list file (over 150 000 words) is only 250kb.

 12KB的完整词库,4kb的核心逻辑,整个英语辞典文件仅250k
  Background wordlist loading and polite parsing means you don't have to halt your application while the dictionary initializes.

后台的单词列表登录,友好的解析方式,你无须在辞典初始化的时候驻留在应用程序上
  Support for accented characters, case sensitivity.
  Can check over 35,000 words per second
  Very simple mechanism for customizing underline styles and colors

对重音单词的支持,以及大小写敏感,每秒钟检测35000个单词,非常简单的定制下划线颜色和样式的机制
  Full support for HTML styled text, works with rich text editors
  Custom user word lists
  Comes with example files, US and UK word lists, a quick start guide, a specifications document, and full API documentation in ASDoc format

支持所有的HTML样式文本,US,UK单词列表。以及启蒙手册,文档说明ASDOC格式的API文档
http://www.gskinner.com/blog/archives/2007/10/spell_check_eng.html

 
阅读更多
个人分类: RIA
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!
关闭
关闭