Socket
Socket
Sign inDemoInstall

@microsoft/recognizers-text-choice

Package Overview
Dependencies
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@microsoft/recognizers-text-choice - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

dist/types/choice/japanese/boolean.d.ts

2

dist/types/choice/choiceRecognizer.d.ts

@@ -6,3 +6,3 @@ import { Recognizer, IModel, ModelResult } from "@microsoft/recognizers-text";

export declare function recognizeBoolean(query: string, culture: string, options?: ChoiceOptions, fallbackToDefaultCulture?: boolean): Array<ModelResult>;
export default class OptionsRecognizer extends Recognizer<ChoiceOptions> {
export default class ChoiceRecognizer extends Recognizer<ChoiceOptions> {
constructor(culture: string, options?: ChoiceOptions, lazyInitialization?: boolean);

@@ -9,0 +9,0 @@ protected InitializeConfiguration(): void;

@@ -8,2 +8,6 @@ export { default as ChoiceRecognizer, ChoiceOptions, recognizeBoolean } from "./choice/choiceRecognizer";

export { EnglishBooleanExtractorConfiguration } from "./choice/english/boolean";
export { PortugueseBooleanExtractorConfiguration } from "./choice/portuguese/boolean";
export { JapaneseBooleanExtractorConfiguration } from "./choice/japanese/boolean";
export { EnglishChoice } from "./resources/englishChoice";
export { PortugueseChoice } from "./resources/portugueseChoice";
export { JapaneseChoice } from "./resources/japaneseChoice";
{
"name": "@microsoft/recognizers-text-choice",
"version": "1.0.0",
"description": "recognizers-text-choice abstract",
"version": "1.0.1",
"description": "recognizers-text-choice provides recognition of Boolean (yes/no) answers expressed in multiple languages, as well as base classes to support lists of alternative choices.",
"author": "Microsoft Corp.",

@@ -11,3 +11,5 @@ "license": "MIT",

"entity-extraction",
"numex",
"boolean",
"alternatives",
"choices",
"parser-library"

@@ -35,5 +37,5 @@ ],

"dependencies": {
"@microsoft/recognizers-text": "^1.0.0",
"@microsoft/recognizers-text": "~1.0.1",
"grapheme-splitter": "^1.0.2"
}
}

@@ -5,2 +5,2 @@ # Microsoft.Recognizers.Text for JavaScript

Please check the [main README](https://github.com/Microsoft/Recognizers-Text/tree/master/JavaScript) for more details.
Please check the [main README](https://github.com/Microsoft/Recognizers-Text/tree/master/JavaScript/packages/recognizers-text-suite) for more details.

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc