ATIS_dataset icon indicating copy to clipboard operation
ATIS_dataset copied to clipboard

Fix Incorrect Entity Spans

Open BorisPolonsky opened this issue 6 years ago • 1 comments

Fix Incorrect Entity Spans

Brief

Fixed inconsistency in span definition between

  • entities located in the beginning of a sentence (fixed)
  • the rest that follows the definition of Rasa NLU JSON format (left as is).

Entities are specified with a start and an end value, which together make a python style range to apply to the string, e.g. in the example below, with text="show me chinese restaurants", then text[8:15] == 'chinese'.

BorisPolonsky avatar Aug 26 '19 09:08 BorisPolonsky

@BorisPolonsky Thank you for your PR. I am sorry for the delay. I am recently very busy, I will take a close look as soon as possible. I will keep you informed!

howl-anderson avatar Sep 06 '19 09:09 howl-anderson