You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 4, 2026. It is now read-only.
# Set our query type to Spelling
query = tap.query('spelling')
# no params needed
# pass in some test data
string = "Th is the frst graet hpapy blue anrgy cold sentence. This is the second fantastic sentence."
# query the api
strResult = tap.analyse_text(query, string)
# Print Result
print("-" * 40)
print("Spelling:")
print("-" * 40)
print("Input Text:\n\n", string)
print("\n")
print("Raw Result:\n\n")
print(json.dumps(strResult, indent=2))