18.04.2013 Views

The.Algorithm.Design.Manual.Springer-Verlag.1998

The.Algorithm.Design.Manual.Springer-Verlag.1998

The.Algorithm.Design.Manual.Springer-Verlag.1998

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

War Story: Dialing for Documents<br />

CONTINENT A NEW NATION CONCEIVED IN LIBERTY AND DEDICATED TO THE<br />

PROPOSITION THAT ALL MEN ARE CREATED EQUAL. NOW WE ARE ENGAGED IN A<br />

GREAT CIVIL WAR TESTING WHETHER THAT NATION OR ANY NATION SO CONCEIVED<br />

AND SO DEDICATED CAN LONG ENDURE. WE ARE MET ON A GREAT BATTLEFIELD OF<br />

THAT WAS. WE HAVE COME TO DEDICATE A PORTION OF THAT FIELD AS A FINAL<br />

SERVING PLACE FOR THOSE WHO HERE HAVE THEIR LIVES THAT THE NATION MIGHT<br />

LIVE. IT IS ALTOGETHER FITTING AND PROPER THAT WE SHOULD DO THIS. BUT IN A<br />

LARGER SENSE WE CAN NOT DEDICATE WE CAN NOT CONSECRATE WE CAN NOT<br />

HALLOW THIS GROUND. THE BRAVE MEN LIVING AND DEAD WHO STRUGGLED HERE<br />

HAVE CONSECRATED IT FAR ABOVE OUR POOR POWER TO ADD OR DETRACT. THE<br />

WORLD WILL LITTLE NOTE NOR LONG REMEMBER WHAT WE SAY HERE BUT IT CAN<br />

NEVER FORGET WHAT THEY DID HERE. IT IS FOR US THE LIVING RATHER TO BE<br />

DEDICATED HERE TO THE UNFINISHED WORK WHICH THEY WHO FOUGHT HERE HAVE<br />

THUS FAR SO NOBLY ADVANCED. IT IS RATHER FOR US TO BE HERE DEDICATED TO THE<br />

GREAT TASK REMAINING BEFORE US THAT FROM THESE HONORED DEAD WE TAKE<br />

INCREASED DEVOTION TO THAT CAUSE FOR WHICH THEY HERE HAVE THE LAST FULL<br />

MEASURE OF DEVOTION THAT WE HERE HIGHLY RESOLVE THAT THESE DEAD SHALL<br />

NOT HAVE DIED IN VAIN THAT THIS NATION UNDER GOD SHALL HAVE A NEW BIRTH OF<br />

FREEDOM AND THAT GOVERNMENT OF THE PEOPLE BY THE PEOPLE FOR THE PEOPLE<br />

SHALL NOT PERISH FROM THE EARTH.<br />

Figure: Our telephone-code reconstruction system applied to various text samples<br />

While we still made a few mistakes, the results are clearly good enough for a variety of applications.<br />

Periphonics certainly thought so, for they later licensed our program to incorporate into their products.<br />

Figure shows that we were able to reconstruct over 99% of the characters correctly on a megabyte of<br />

President Clinton's speeches, so if Bill had phoned them in, we would certainly still be able to understand<br />

it. <strong>The</strong> reconstruction time is fast enough, indeed faster than you can type it in on the phone keypad.<br />

<strong>The</strong> constraints associated with many different pattern recognition problems can be formulated as<br />

shortest path problems in graphs. In fact, there is a particularly convenient dynamic programming<br />

solution for these problems known as the Viterbi algorithm, which is used in speech and handwriting<br />

recognition systems. Despite the fancy name, all the Viterbi algorithm is doing is solving a shortest path<br />

problem. Hunting for a graph formulation for any given problem is always a good way to proceed.<br />

file:///E|/BOOK/BOOK2/NODE80.HTM (5 of 6) [19/1/2003 1:29:21]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!