Recognizers-Text icon indicating copy to clipboard operation
Recognizers-Text copied to clipboard

[ZH Number] "一千瓦"、"两千赫"、"三千焦" etc. value are null while "十千瓦"、"两百千赫"、"三万千焦" can be recognized

Open SoaringTiger opened this issue 4 years ago • 0 comments

Describe the bug [ZH Number] "一千瓦"、"两千赫"、"三千焦" etc. value are null while "十千瓦"、"两百千赫"、"三万千焦" can be recognized

To Reproduce NumberRecognizer.RecognizeNumber(query, Culture.Chinese)

Expected behavior 一千瓦

{
  "Text": "一",
  "Start": 0,
  "End": 0,
  "TypeName": "number",
  "Resolution": {
    "value": "1"
  }
}

两千赫

{
  "Text": "两",
  "Start": 0,
  "End": 0,
  "TypeName": "number",
  "Resolution": {
    "value": "2"
  }
}

三千焦

{
  "Text": "三",
  "Start": 0,
  "End": 0,
  "TypeName": "number",
  "Resolution": {
    "value": "3"
  }
}

Platform (please complete the following information): Platform: [ .NET ...] Version of package [v1.7.0]

SoaringTiger avatar Jul 01 '21 15:07 SoaringTiger