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
# 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))
Steps to Reproduce:
Received Output:
Tried various sentences and spelling errors and the returned result was always the same.
The text was updated successfully, but these errors were encountered: