botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

[LUIS] Luis does not recognize German numbers properly

Open PeterSchoell opened this issue 7 years ago • 4 comments

Issue

Attempt to convert the Recognizer result to an integer. This SHOULD works for "a dozen", "twelve", "12", and so on. Correspondingly for the German terms like "Zwölf" or "Zehn"

const results = Recognizers.recognizeNumber(input, Recognizers.Culture.German);

This works fine for English culture, but not for German culture.

Proposed change

Add German prebuilt entities

See also https://github.com/Microsoft/BotBuilder/issues/3540

PeterSchoell avatar Mar 27 '19 10:03 PeterSchoell

Are you using the .NET (C#) or Javascript? The source of the Recognizers can be found in the following repo.

iMicknl avatar Mar 27 '19 13:03 iMicknl

Are you using the .NET (C#) or Javascript? The source of the Recognizers can be found in the following repo.

I use Javascript

PeterSchoell avatar Mar 27 '19 13:03 PeterSchoell

I would recommend creating an issue in the Recognizers-Text repository. It looks like Zwölf (12) and Zehn (10) are already recognized as a number in the .NET version, didn't try the latest Javascript yet.

Do you also face this issue in LUIS or are you trying to achieve this using the local recognizer?

iMicknl avatar Mar 31 '19 16:03 iMicknl

Closing the issue due to unresponsive user. If you are experiencing the issue in LUIS itself and not the bot and need further assistance, then you can file the issue in the Recognizers-Text repository.

anusharr avatar Apr 08 '19 16:04 anusharr