Add hooks for typo correction to ExternalSemaSource, courtesy of Luke Zarko.