Publication:

A Novel Method in Detecting Real-Word Errors Using Textual Entailment

datacite.rightsrestricted
dc.contributor.advisorBangalore, Srinivas
dc.contributor.authorLee, James
dc.date.accessioned2021-07-30T15:03:46Z
dc.date.accessioned2026-09-30T00:04:10Z
dc.date.available2021-07-30T15:03:46Z
dc.date.available2026-09-30T00:04:10Z
dc.date.created2021-04-06
dc.date.issued2021-07-30
dc.description.abstractSpellchecking has become ubiquitous in modern life, running on everything from giant cloud computing clusters to pocket-sized phones. Modern spell checkers can detect and address simple typos, certain types of real-word errors, and even some grammatical mistakes. Despite the progress made on morphological and syntactical correctness, ensuring semantic cohesiveness has proven more elusive. In this thesis, a novel method in detecting real-word errors by analyzing the entailment relationship between sentences is presented. It scores the degree of entailment between two sentences and tries to find alternative sentences that maximize the entailment value. This method should theoretically be able to remediate a class of real-word errors and semantic contradictions that existing spell checkers are not currently able to handle. The proposed algorithm is compared against the current open-source spellchecking standards, Aspell and Hunspell, and a similar algorithm that tries to minimize perplexity. Multiple corpora, in English and Spanish, with artificially induced real-word errors from a generated homophone list were used. Real-world corpora were also examined with their naturally occurring errors. When examining an English corpus with synthetic errors, the algorithm suggested the correct word at the correct location 83% percent of the time, showing that in ideal conditions, entailment can be a powerful tool to correct contextual spelling errors. The accuracy rate dropped to 53% in the Spanish corpus, still showing cross-language utility. However, on real-world data, the method was only 5% to 16% accurate. This suggests some combination of natural errors only rarely causing issues and deficiencies with the algorithm's implementation. More work integrating this algorithm with other error correcting methods, testing and training on larger datasets, and improving the implementation is needed.en_US
dc.format.mimetypeapplication/pdf
dc.identifier.urihttp://arks.princeton.edu/ark:/88435/dsp019z9032969
dc.identifier.urihttps://theses-dissertations.princeton.edu/handle/88435/dsp019z9032969
dc.language.isoenen_US
dc.titleA Novel Method in Detecting Real-Word Errors Using Textual Entailmenten_US
dc.typePrinceton University Senior Theses
dspace.entity.typePublication
pu.certificateApplications of Computing Programen_US
pu.certificateLinguistics Programen_US
pu.certificateEngineering and Management Systems Programen_US
pu.contributor.authorid920191664
pu.date.classyear2021en_US
pu.departmentOperations Research and Financial Engineeringen_US
pu.mudd.walkinNoen_US
pu.pdf.coverpageSeniorThesisCoverPage

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
LEE-JAMES-THESIS.pdf
Size:
276.47 KB
Format:
Adobe Portable Document Format
Download

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
LICENSE.txt
Size:
246 B
Format:
Plain Text
Description:
Download