You could in theory look at this example: https://archi-lab.net/spell-checking-w-dynamo/
Hope it helps.
Cheers!