Spell check scanning of package at sdk/cognitiveservices/azure-cognitiveservices-language-textanalytics detected spelling errors in the source code and related files. This directory is opted out of PR spell checking in PR #22199 to keep PRs unblocked.
What to do
- Ensure Node.js is installed (https://nodejs.org/en/download/).
- Delete the entry in
.vscode/cspell.json's ignorePaths field. It will look like: sdk/cognitiveservices/azure-cognitiveservices-language-textanalytics/**. You need to do this to enable checking the files.
- From the root of the repo run spell check using
./eng/common/spelling/Invoke-Cspell.ps1 -ScanGlobs "sdk/cognitiveservices/azure-cognitiveservices-language-textanalytics/**"
- Fix detections according to http://aka.ms/azsdk/engsys/spellcheck use the "False positives" section to fix false positives
- Check in changes (including the change to
.vscode/cspell.json where the ignorePaths is updated to remove the entry for this service.). You may need to run git add -f .vscode/cspell.json to force adding the changes to the file in git.
Spell checking output
./sdk/cognitiveservices/azure-cognitiveservices-language-textanalytics/CHANGELOG.md:40:19 - Unknown word (prefered)
./sdk/cognitiveservices/azure-cognitiveservices-language-textanalytics/tests/test_text_analytics.py:21:52 - Unknown word (pycog)
Spell check scanning of package at
sdk/cognitiveservices/azure-cognitiveservices-language-textanalyticsdetected spelling errors in the source code and related files. This directory is opted out of PR spell checking in PR #22199 to keep PRs unblocked.What to do
.vscode/cspell.json'signorePathsfield. It will look like:sdk/cognitiveservices/azure-cognitiveservices-language-textanalytics/**. You need to do this to enable checking the files../eng/common/spelling/Invoke-Cspell.ps1 -ScanGlobs "sdk/cognitiveservices/azure-cognitiveservices-language-textanalytics/**".vscode/cspell.jsonwhere theignorePathsis updated to remove the entry for this service.). You may need to rungit add -f .vscode/cspell.jsonto force adding the changes to the file in git.Spell checking output