This link has my code and the example output https://files.fm/u/vpncrxvcz My output is : barely -> FOUND carats -> FOUND confabs -> FOUND corepulent -> FOUND 1: corpulent costumye -> FOUND 1: costumey...


This link has my code and the example output


https://files.fm/u/vpncrxvcz



My output is :


barely -> FOUND
carats -> FOUND
confabs -> FOUND
corepulent -> FOUND 1: corpulent
costumye -> FOUND 1: costumey
pamek -> NOT FOUND
darjed -> FOUND 3: dared darked darned
doitd -> FOUND 2: doit doits
dovrtailing -> FOUND 1: dovetailing
flavoonls -> FOUND 1: flavonols
outstpend -> FOUND 1: outspend
hut -> FOUND 2: shut jut
pashas -> FOUND
poolry -> FOUND 1: poorly
quixmasters -> FOUND 1: quizmasters
relocatiing -> FOUND 1: relocating
sorceresd -> FOUND 1: sorceress
turbulences -> FOUND
sut -> FOUND 1: shut
inteters -> FOUND 1: integers
marteatment -> NOT FOUND
agew -> FOUND 3: anew ages agee
shu -> FOUND 3: shut shy shh



but the target output is :


barely -> FOUND
carats -> FOUND
confabs -> FOUND
corepulent -> FOUND 1: corpulent
costumye -> FOUND 1: costumey
pamek -> NOT FOUND
darjed -> FOUND 3: darned dared darked
doitd -> FOUND 2: doit doits
dovrtailing -> FOUND 1: dovetailing
flavoonls -> FOUND 1: flavonols
outstpend -> FOUND 1: outspend
hut -> FOUND 2: shut jut
pashas -> FOUND
poolry -> FOUND 1: poorly
quixmasters -> FOUND 1: quizmasters
relocatiing -> FOUND 1: relocating
sorceresd -> FOUND 1: sorceress
turbulences -> FOUND
sut -> FOUND 1: shut
inteters -> FOUND 1: integers
marteatment -> NOT FOUND
agew -> FOUND 3: ages agee anew
shu -> FOUND 3: shut shy shh



And the reference in this probably help :


After going through all of the above, if there are multiple potential matches, sort them by their potential frequency from the English dictionary and return the top 3 values that are in most frequent usage as the most likely corrections in order.

Nov 11, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here