Skip to content

Response wrongly formatted #6

Description

@alekaizer

Hi guys,

I just got the app up and running and from my first tentative, the output is wrongly formatted.

Here is what I was supposed to get:

  • Jack lives in Berlin -> {'person': 'Jack', 'location': 'Berlin'}
  • Tutu really likes bananas -> {'person': 'Tutu', 'food': 'bananas'}
  • Close the door -> {'action': 'close', 'object': 'door'}

the output keys are at the right places, but on my output, the keys are the values, and it doesn't get rid of punctuations.

[
   {
      "id":6,
      "querystring":"where can I get a car",
      "configured":false,
      "parsed_ner":{
         "get":"action",
         "where":"object"
      }
   },
   {
      "id":7,
      "querystring":"how to drive a car",
      "configured":false,
      "parsed_ner":{
         "car":"object",
         "drive":"action"
      }
   },
   {
      "id":8,
      "querystring":"can you teach me how to shoot a basketball?",
      "configured":false,
      "parsed_ner":{
         "me":"action",
         "teach":"action",
         "shoot":"action",
         "basketball":"object",
         "?":"action"
      }
   }
]

for the weird parts, me,where taken as valid in parsing, I guess it's because of the tiny size of the training dataset

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions