Instantly share code, notes, and snippets.

What would you like to do?
AppleScript interface to
on ProcessText(sentence)
tell application ""
return call soap {method name:"ProcessText", method namespace uri:"", parameters:{|m:text|:sentence as string, |m:useP|:false as boolean, |m:useBr|:false as boolean, |m:entityType|:3 as integer}, SOAPAction:""}
end tell
end ProcessText
set answer to ProcessText("миру - мир")
display dialog answer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment