Back C4.5 Example 3 HomeNext


Definition: a homonym is a word with the same pronounciation as another but with a different meaning, origin, and, usually, spelling.

Purpose: to illustrate how C4.5 and C4.5rules can be used to automate a more difficult task.

Problem: using three collected sets of instances containing homonyms, learn rules to determine, given a window of the five previous words (classified according to their respective Part Of Speech), which spelling of each homonym is preferred.


Downloadable Files

Homonym Pair filestem.names Decision Tree Decision Rules
"Bare" versus "Bear" bare.names text or gif text or gif
"Baron" versus "Barren" baron.names text or gif text or gif
"In" versus "Inn" in.names text or gif text or gif
"Wait" versus "Weight" wait.names text or gif text or gif


Summary of Results

Comment: only the immediately preceeding word/part of speech contributes to these rules.

"Bare" versus "Bear"

"Baron" versus "Barren"

"In" versus "Inn"

"Wait" versus "Weight"

Back   HomeNext