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

[ZH NumberRange]"上百"、"上万"、"上百万"、"上萬億" should be recognized as numberrange

Open SoaringTiger opened this issue 4 years ago • 0 comments

Describe the bug "上百"、"上千"、"上万"、"上百万"、"上億"、"上萬億" …… starts with "上" etc. should be recognized as numberrange in Chinese they mean "more than base number and less than 10* base number"

Expected behavior


{
  "Text": "上百",
  "Start": 0,
  "End": 1,
  "TypeName": "numberrange",
  "Resolution": {
    "value": "(100, 1000)"
  }
}

{
  "Text": "上千",
  "Start": 0,
  "End": 1,
  "TypeName": "numberrange",
  "Resolution": {
    "value": "(1000, 10000)"
  }
}


{
  "Text": "上萬",
  "Start": 0,
  "End": 1,
  "TypeName": "numberrange",
  "Resolution": {
    "value": "(10000, 100000)"
  }
}

{
  "Text": "上萬億",
  "Start": 0,
  "End": 1,
  "TypeName": "numberrange",
  "Resolution": {
    "value": "(1000000000000, 10000000000000)"
  }
}

Platform (please complete the following information):

  • Platform: [.NET ...]
  • Version of package [v1.7.0]

SoaringTiger avatar Jun 27 '21 12:06 SoaringTiger