/ Published in: R
URL: http://rebol.wik.is/Google-spell
Expand |
Embed | Plain Text
google-spell: func [ check [string!] /local req result suggestions ][ req: reform compose copy [ <spellrequest textalreadyclipped="0" ignoredups="1" ignoredigits="1" ignoreallcaps="0"> <text> (check) </text> </spellrequest> ] result: load/markup read/custom https://www.google.com/tbproxy/spell reduce [ 'POST req ] either parse result [ tag! tag! tag! set suggestions string! tag! tag! end ][ parse suggestions none ] [ none ] ]
You need to login to post a comment.
