![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@botbuildercommunity/middleware-spell-check
Advanced tools
Bot Framework middleware component for the Cognitive Services Spell Check API
The Spell Check Middleware offers Bot Framework middleware components for the Cognitive Services Bing Spell Check API. You will need an Azure account, as well as a Cognitive Services resource created on Azure. Take a look at the Bing Spell Check API documentation for details.
npm install @botbuildercommunity/middleware-spell-check --save
All middleware is created and use in the same way. For example, for spell check, import the SpellCheck
class from the package, and add it to your bot adapter:
import { SpellCheck } from '@botbuildercommunity/middleware-spell-check';
adapter.use(new SpellCheck(YOUR_BING_SPELL_CHECK_KEY));
When used, the turnState
on the TurnContext
will have a property named suggestion
which is the actual suggestion. Furthermore turnState
will have a property token
which is the phrase which has been classified by the service to be replaced by the suggestion. A full example can be seen in the sample
bot test file.
Supported middleware classes include:
SpellCheck
Each class takes the one required parameter like in the example usage above.
In each case, properties are added to the turnState
of the TurnContext
You can retrieve them in your bot via:
context.turnState.get("token")
//This is the token which you could replace by suggestion
context.turnState.get("suggestion")
//This is the suggestion which the token
could be replaced withFAQs
Bot Framework middleware component for the Cognitive Services Spell Check API
The npm package @botbuildercommunity/middleware-spell-check receives a total of 3 weekly downloads. As such, @botbuildercommunity/middleware-spell-check popularity was classified as not popular.
We found that @botbuildercommunity/middleware-spell-check demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.