Title: Word Processing
1Word Processing
2Spell checking
- How does Word know that storey is misspelled?
3Spell checking
Abraham Angry Balloon Coverlet . .
. Polypeptide . . . Store Story Stranger . .
. Zebra
- How does Word know that storey is misspelled?
- Look up every word in a dictionary. Report the
ones that are not there.
4Spellchecker implemented in EXCEL
5- IF(ISNA( MATCH(A3,D3D24,0) ),"NO","YES")
6- IF(ISNA( MATCH(A3,D3D24,0) ),"NO","YES")
7Spellchecker implemented in EXCEL
8Spellchecker implemented in EXCEL
9Spellchecker implemented in EXCEL
10What does this do?
Add storey to the dictionary
11What does this do?
Add storey to a temporary list of words to
ignore
12How does it pick the words for this list?
Minimal edit distance How many characters must
be changed to match a dictionary word?
13Spell checking
- How does it know what characters form a word?
- Any sequence of letters with no spaces, digits or
punctuation - (cgtA and cltZ) or (cgta and cltz)
14Document trees
document
section
para
para
The reason that they dont like chocolate is
because of a dog that they had when they were
little.
This is the beginning of a lovely story about two
people that dont like chocolate.
15Centered
document
Justified
section
para
para
This is the beginning of a lovely story about two
people that dont like
bold
The reason that they dont like chocolate is
because of a dog that they had when they were
little.
chocolate.
16Where in the tree does the centering information
go?
document
section
para
para
This is the beginning of a lovely story about two
people that dont like
bold
The reason that they dont like chocolate is
because of a dog that they had when they were
little.
chocolate.
17Where in the tree does the centering information
go?
document
section
para
align
para
centered
This is the beginning of a lovely story about two
people that dont like
bold
The reason that they dont like chocolate is
because of a dog that they had when they were
little.
chocolate.
18How will alignment change if I enter BACKSPACE?
document
section
para
align
para
centered
This is the beginning of a lovely story about two
people that dont like
bold
The reason that they dont like chocolate is
because of a dog that they had when they were
little.
chocolate.
19How will alignment change if I enter BACKSPACE?
document
section
para
align
para
centered
This is the beginning of a lovely story about two
people that dont like
bold
The reason that they dont like chocolate is
because of a dog that they had when they were
little.
chocolate.
20How will alignment change if I enter BACKSPACE?
document
section
para
align
centered
This is the beginning of a lovely story about two
people that dont like
bold
The reason that they dont like chocolate is
because of a dog that they had when they were
little.
chocolate.
21How will bolding change if I enter BACKSPACE 3
times?
document
section
para
align
centered
This is the beginning of a lovely story about two
people that dont like
bold
The reason that they dont like chocolate is
because of a dog that they had when they were
little.
chocolate.
22How will bolding change if I enter BACKSPACE 3
times?
document
section
para
align
centered
This is the beginning of a lovely story about two
people that dont like
bold
The reason that they dont like chocolate is
because of a dog that they had when they were
little.
chocola
23What will happen to alignment if I hit ENTER and
make a new paragraph?
document
section
para
align
centered
This is the beginning of a lovely story about two
people that dont like
bold
The reason that they dont like chocolate is
because of a dog that they had when they were
little.
chocola
24What will happen to alignment if I hit ENTER and
make a new paragraph?
document
section
para
para
align
align
centered
centered
This is the beginning of a lovely story about two
people that dont like
bold
The reason that they dont like chocolate is
because of a dog that they had when they were
little.
chocola
25Style attributes
- Different attributes are stored a different
levels of the document tree - Document
- Section
- Paragraph
- Character
26Style attributes at which level?
- Document
- Section
- Paragraph
- Character
Underline
27Style attributes at which level?
- Document
- Section
- Paragraph
- Character
Indentation
28Style attributes at which level?
- Document
- Section
- Paragraph
- Character
Font size
29Style attributes at which level?
- Document
- Section
- Paragraph
- Character
Highlight Color
30Style attributes at which level?
- Document
- Section
- Paragraph
- Character
Tabs
31Style attributes at which level?
- Document
- Section
- Paragraph
- Character
Bulleted Lists
32Style attributes at which level?
- Document
- Section
- Paragraph
- Character
Page Headers
Headers apply to many paragraphs
Different headers in different chapters of a book
33Style attributes at which level?
- Document
- Section
- Paragraph
- Character
Margins
34Different Views
35Outline View
Heading 1
Some text in heading 1
I am heading 2
Another Heading 2
This is some other text
Some more text
36Outline View
Double click here
Heading 1
Some text in heading 1
I am heading 2
Another Heading 2
This is some other text
Some more text
37Review
- Spell checking
- Find each word (sequence of letters)
- Look up each word in the dictionary
- Dictionary is just a list of words
- If it doesnt match find similar words
38Review
- Style information
- Document trees
- Different information at different levels
- Document
- Section
- Margins, Headers, Footers, Page numbers
- Paragraph
- Alignment, indentation, bullets
- Characters
- Font, bold, color