weixin_39612122
weixin_39612122
2021-01-01 02:28

[DE DateTimeV2] The datetimeV2 prebuilt entity does not recognize the utterance "unter der Woche".

Is your feature request related to a problem? Please describe. The utterance "unter der Woche" is a common utterance in the German language.

Describe the solution you'd like This utterance should be mapped to the date range from Monday to Friday.

Describe alternatives you've considered

Additional context

该提问来源于开源项目:microsoft/Recognizers-Text

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

13条回答

  • weixin_39649614 weixin_39649614 4月前

    If there's an existing PR, I'm open to contributing, too :)

    点赞 评论 复制链接分享
  • weixin_39649614 weixin_39649614 4月前

    any updates?

    点赞 评论 复制链接分享
  • weixin_39828331 weixin_39828331 4月前

    , this is finally merged and will be included in the next package update.

    点赞 评论 复制链接分享
  • weixin_39828331 weixin_39828331 4月前

    Just to clarify, "unter der Woche" means roughly "during the work week", correct? Do you think "während der Woche" should be recognized as the whole 7-day week? Or doesn't that make sense?

    点赞 评论 复制链接分享
  • weixin_39612122 weixin_39612122 4月前

    Yes, you can consider both "unter der Woche" and "während der Woche" as 5-day week.

    点赞 评论 复制链接分享
  • weixin_39828331 weixin_39828331 4月前

    In other languages "during the week" treats week as the full 7-day week. Would it be OK to treat both in German as 7 too? My initial question was if "unter der Woche" required the special interpretation. Consistency cross-languages is strongly desired to the extent possible.

    点赞 评论 复制链接分享
  • weixin_39612122 weixin_39612122 4月前

    I checked both the current versions of code and LUIS and this issue is still not working. In both utterances, only the term "der Woche" is recognized.

    点赞 评论 复制链接分享
  • weixin_39612122 weixin_39612122 4月前

    The mentioned problems in this issue are not solved. I tested both in the code and LUIS. Should we reopen this issue?

    点赞 评论 复制链接分享
  • weixin_39828331 weixin_39828331 4月前

    Thanks for following up. I'll run some tests on it soon.

    点赞 评论 复制链接分享
  • weixin_39769627 weixin_39769627 4月前

    Hello , unfortunately this issue is not solved as reported, yet:

    
    {
      "Text": "der woche",
      "Start": 6,
      "End": 14,
      "TypeName": "datetimeV2.daterange",
      "Resolution": {
        "values": [
          {
            "timex": "2019-W48",
            "type": "daterange",
            "start": "2019-11-25",
            "end": "2019-12-02"
          }
        ]
      }
    }
    

    Could you please reopen it?

    点赞 评论 复制链接分享
  • weixin_39828331 weixin_39828331 4月前

    Sorry for the long delay to reply. It seems the issue is one of consistency with other languages.

    As from 07/Aug:

    In other languages "during the week" treats week as the full 7-day week. Would it be OK to treat both in German as 7 days too? My initial question was if "unter der Woche" required the special interpretation. Consistency cross-languages is strongly desired to the extent possible.

    Ideally we'd like to keep this consistency. Unless there is clearly no ambiguity in German that this form refers only to works days.

    We can also add extra attributes to the response to highlight that it could also be interpreted as 5-day, if that helps.

    What do you think?

    点赞 评论 复制链接分享
  • weixin_39828331 weixin_39828331 4月前

    , Got it. Is it exactly the same for "während der Woche"? How would you say "during the week" meaning the 7-day week in German? Or is there no common usage of such case?

    点赞 评论 复制链接分享
  • weixin_39828331 weixin_39828331 4月前

    Thanks. We'll make this distinction.

    点赞 评论 复制链接分享

相关推荐