News for hackers. Stuff that matters.
Re:A spellchecker used to be a major feat of software engine... by jiggawatts on Thursday December 03, 2020 @08:23PM (#25297865)
I often make this mistake in technical documentation: "the database sever was updated".

However, a surgeon might want to write "the next procedure is to sever the artery."

I wonder if GPT-3 could be used to determine the "context" and determine the spelling correctness "weights"?

Re:A spellchecker used to be a major feat of software engine... by meetups323 on Thursday December 03, 2020 @09:34PM (#25298269)
Yes. Up until last two sections is prompt, then I let GPT-3 fill in the responses.

Non-standard English: Please provide me with a short brief of the design youre looking four and some examples or previous projects youve done would be helpful. Standard American English: Please provide me with a short brief of the design you’re looking for and some examples or previous projects you’ve done would be helpful.

Non-standard English: If Im stressed out about something, I tent to have a problem falling asleep. Standard American English: If I’m stressed out about something, I tend to have a problem falling asleep.

Non-standard English: There are plenty off fun things too do in the summer when you are able two go outside. Standard American English: There are plenty of fun things to do in the summer when you are able to go outside.

Non-standard English: She didnt go to hte market. Standard American English: She didn't go to the market.

Non-standard English: The database sever was updated. Standard American English: The database server was updated.

Non-standard English: The next procedure is to sever the artery. Standard American English: The next procedure is to sever the artery.

(In case you're wondering, if I provide 'server' as the input for the second case, it replaces it with 'serve'. Which is reasonable. I tried changing the wording to coax it into placing sever but didn't have much luck)

Re:A spellchecker used to be a major feat of software engine... by gnramires on Thursday December 10, 2020 @08:02AM (#25373213)
Indeed, I think most linguistic tasks could benefit from the neural (transformer) approach, even a tiny spellchecker. The combination of semi-regular rules, semantics and logic makes a highly effective "manual" solution too expensive to obtain (in terms of research and programming time).
Re:A spellchecker used to be a major feat of software engine... by afiori on Friday December 04, 2020 @10:40AM (#25303474)
I don't think I ever made that specific mistake, but (as a non native speaker) I spent a couple minutes staring at your example and was about to write a comment asking what mistake you were talking about before I spotted the typo.