|
@patrickc | |||||
|
The Stripe API now makes suggestions in response to misspellings! pic.twitter.com/152wU4LPqY
|
||||||
|
||||||
|
ᴅᴀᴠɪᴅ ᴘᴇʀᴇʟʟ ✌
@david_perell
|
24. sij |
|
Asking this as a curious outsider who knows very little about software.
Why is this a recent innovation? Auto-correct seems like an obvious problem the software community should have solved years ago. Perhaps there's a lot of technical complexity here.
What am I missing?
|
||
|
|
||
|
Patrick McKenzie
@patio11
|
25. sij |
|
A true but perhaps unhelpful answer: it doesn’t exist in most APIs because no one implemented it.
A perhaps more useful answer: broadly speaking, most APIs are bespoke software systems. This layer is built from ground up, rather than being built on a common, robust foundation.
|
||
|
|
||
|
Nick Schrock
@schrockn
|
25. sij |
|
How about going full @phabricator and just assuming anything with an edit distance of 1 is the "British spelling" and pressing on? 😂😂😂 pic.twitter.com/N4fZrRt4fJ
|
||
|
|
||
|
Kevin Lacker
@lacker
|
25. sij |
|
there was a rails plugin which, at runtime, would autocorrect misspelled methods
|
||
|
|
||
|
Paul Graham
@paulg
|
25. sij |
|
Next step: DWIM.
|
||
|
|
||
|
Des Traynor
@destraynor
|
25. sij |
|
Reminds me of the aptly named mod_speling in Apache
|
||
|
|
||
|
Mengxi Lu
@mengxilu
|
24. sij |
|
Is it using this behind the scenes 😂
github.com/nvbn/thefuck
|
||
|
|
||
|
George V. Reilly
@georgevreilly
|
29. sij |
|
This feature is implemented using Ruby's built-in DidYouMean::SpellChecker.
github.com/ruby/did_you_m…
|
||
|
|
||
|
shidoshi
@shidoshi
|
25. sij |
|
Yeah, how was this a micro-ship? I thought it was pretty huge. Also, I'm totally not reading work slack/mail, because of micro-humans *ahem*.
|
||
|
|
||
|
Prof. Jeff Jarviss
@ProfJeffJarviss
|
24. sij |
|
Did you mean “Mo money mo problems?”
|
||
|
|
||