An API to Check Spelling and Grammar

29
An API to Check Spelling and Grammar Raphael Mudge [email protected] m

Transcript of An API to Check Spelling and Grammar

Page 1: An API to Check Spelling and Grammar

An API to Check Spelling and Grammar

Raphael [email protected]

Page 2: An API to Check Spelling and Grammar

Overview What is After the Deadline

Adding AtD into your App

Resources

Page 3: An API to Check Spelling and Grammar

Overview What is After the Deadline

Adding AtD into CiviCRM

Resources

Page 4: An API to Check Spelling and Grammar

What is AtD? A software service, checks:Spelling, misused words,

style, and grammar

Front-end components

A tool to aid your users

Page 5: An API to Check Spelling and Grammar

Who should use AtD?

Content Management Systems

User Generated Content Sites

Web Office Suites

Where people write!

Page 6: An API to Check Spelling and Grammar

What is AtD? A software service, checks:

Page 7: An API to Check Spelling and Grammar

What is AtD? A software service, checks:

Page 8: An API to Check Spelling and Grammar

What is AtD? A software service, checks:

Page 9: An API to Check Spelling and Grammar

What is AtD? A software service, checks:

Page 10: An API to Check Spelling and Grammar
Page 11: An API to Check Spelling and Grammar

Grammar Checker The error:I wonder if this is your

companies way of providing support?

Page 12: An API to Check Spelling and Grammar

Grammar Checker The error:I wonder if this is your

companies way of providing support?

Page 13: An API to Check Spelling and Grammar

Grammar Checker The error:I wonder if this is your

companies way of providing support?

The rule:Pattern: your .*/NNSSuggestion: your \1:possessive

Page 14: An API to Check Spelling and Grammar

Grammar CheckerHow AtD sees the sentence: I/PRP wonder/VBP if/IN this/DT is/VBZ

your/PRP$ companies/NNS way/NN of/IN providing/VBG support/NN

How AtD sees it:your companies way = 0.000004%your company's way = 0.000030%

Page 15: An API to Check Spelling and Grammar

How it works

Page 16: An API to Check Spelling and Grammar

Integrating AtD AtD speaks an XML protocol

Front-end plugins for: jQuery TinyMCE CKEditor

Portable to other editors

Page 17: An API to Check Spelling and Grammar

and…

Page 18: An API to Check Spelling and Grammar
Page 19: An API to Check Spelling and Grammar
Page 20: An API to Check Spelling and Grammar

Caveat Emptor AtD works with CiviCRM but…CKEditor plugin needs

workAdding AtD is a hacky

process

Page 21: An API to Check Spelling and Grammar

How to add AtDStep 1: Install CKEditor Plugin

cd civicrm/packages/ckeditor

wget http://…/atd-ckeditor.tgz

tar zxvf atd-ckeditor.tgz

Page 22: An API to Check Spelling and Grammar

How to add AtDStep 2: Edit ckeditor.php

cd civicrm/packages/HTML

cd QuickForm

vi ckeditor.php

Page 23: An API to Check Spelling and Grammar

How to add AtD

Page 24: An API to Check Spelling and Grammar
Page 25: An API to Check Spelling and Grammar

ServerOpen Source – GPL

Modify proxy.php in AtD CKeditor plugin to change

Page 26: An API to Check Spelling and Grammar

Places to use AtD In the browser Firefox Extension Bookmarklet for

IE/Safari/FF

WordPress

IntenseDebate

Page 27: An API to Check Spelling and Grammar

Resourceshttp://

www.afterthedeadline.com

AtD software

http://blog.afterthedeadline.com

Find this presentation

mailto: [email protected]

My email, I don’t bite.

Page 28: An API to Check Spelling and Grammar

In summary… What is After the Deadline

Adding AtD into your App

Resources

Page 29: An API to Check Spelling and Grammar

Resourceshttp://

www.afterthedeadline.com

AtD software

http://blog.afterthedeadline.com

Find this presentation

mailto: [email protected]

My email, I don’t bite.