Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

BF luis:convert errors in multilingual LU files #412

Closed

Description

@bobokids

Run "bf luis:convert -i calendar.lu --culture=de-de", got following error:
line 1211:20 token recognition error at: 'ü'
line 1231:19 token recognition error at: 'ö'
line 1251:21 token recognition error at: 'ß'
line 1255:21 token recognition error at: 'ß'
line 1257:21 token recognition error at: 'ß'
line 1287:22 token recognition error at: 'ä'
[ERROR] line 1174:0 - line 1174:20: PREBUILT entity 'personName' is not available for the requested locale 'de-de'

Two issues when handling de-de lu file:

  1. cannot recognize chars like 'ü' in list entity
  2. don't support personName for locales other than en-us and zh-cn

The LU file is here https://github.com/microsoft/botframework-solutions/blob/master/skills/csharp/calendarskill/Deployment/Resources/LU/de-de/Calendar.lu

Activity

  1. bobokids commented on Dec 10, 2019

    @bobokids
    Author

    Also repro in ludown v1.4. Not repro in ludown v1.3.2.

  2. changed the title [-]Token recognition errors in multilingual LU files[/-] [+]BF luis:convert errors in multilingual LU files[/+] on Dec 10, 2019
  3. vishwacsena commented on Dec 16, 2019

    @vishwacsena
    Contributor

    Fei Chen (@feich-ms) appears to be related to parser issues with ANTLR. Can you help take a look and PR a fix?

    Once you have the core parser issue addressed, assign the issue to me for the prebuilt issue.

  4. added
    R8
    on Dec 16, 2019
  5. feich-ms commented on Dec 17, 2019

    @feich-ms
    Contributor

    Will take a look and prepare a fix.

  6. ssss141414 commented on Dec 23, 2019

    @ssss141414

    Token recognition error has been fixed in bf cli 4.7. But
    [ERROR] line 1174:0 - line 1174:20: PREBUILT entity 'personName' is not available for the requested locale 'de-de'
    still remains.

  7. feich-ms commented on Dec 23, 2019

    @feich-ms
    Contributor

    ssss141414 Yes, the first token issue should be fixed by #358 which was merged one month ago. Updating package to 4.7 resolved this issue. Assign to Vishwac Sena Kannan (@vishwacsena) for the prebuilt issue

  8. vishwacsena commented on Feb 5, 2020

    @vishwacsena
    Contributor

    Fixed via #358. Verified that this .lu file parses E2E without any issues with personName prebuilt entity. https://github.com/microsoft/botframework-solutions/blob/master/skills/csharp/calendarskill/Deployment/Resources/LU/de-de/Calendar.lu

  9. GitDruid commented on Jul 6, 2020

    @GitDruid

    Hi Vishwac Sena Kannan (@vishwacsena)
    I still get these errors when trying to deploy for IT and DE:

    Converting it-it Calendar LU file ...[ERROR] line 1858:0 - line 1858:20: PREBUILT entity 'personName' is not available for the requested locale 'it-it'
    Converting de-de Calendar LU file ...[ERROR] line 1880:0 - line 1880:20: PREBUILT entity 'personName' is not available for the requested locale 'de-de'

    Using:

    • latest version of the botframework-skills code downloaded on 3/7/2020
    • botframework-cli version 4.9.1

    Should I file a new issue or will you reopen this one?

    Ciao,
    Alessandro.

  10. GitDruid commented on Jul 6, 2020

    @GitDruid

    Fixed via #358. Verified that this .lu file parses E2E without any issues with personName prebuilt entity. https://github.com/microsoft/botframework-solutions/blob/master/skills/csharp/calendarskill/Deployment/Resources/LU/de-de/Calendar.lu

    Please note that this link is no more valid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

R8lu

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions