@microsoft/recognizers-text-choice
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
1208942
17
23873
0
+ Added@microsoft/recognizers-text@1.0.1(transitive)
- Removed@microsoft/recognizers-text@1.3.1(transitive)