{"action":"closed","issue":{"url":"https://api.github.com/repos/axa-group/nlp.js/issues/88","repository_url":"https://api.github.com/repos/axa-group/nlp.js","labels_url":"https://api.github.com/repos/axa-group/nlp.js/issues/88/labels{/name}","comments_url":"https://api.github.com/repos/axa-group/nlp.js/issues/88/comments","events_url":"https://api.github.com/repos/axa-group/nlp.js/issues/88/events","html_url":"https://github.com/axa-group/nlp.js/issues/88","id":369803918,"node_id":"MDU6SXNzdWUzNjk4MDM5MTg=","number":88,"title":"how to match intent to regex with XLS?","user":{"login":"j2l","id":65325,"node_id":"MDQ6VXNlcjY1MzI1","avatar_url":"https://avatars2.githubusercontent.com/u/65325?v=4","gravatar_id":"","url":"https://api.github.com/users/j2l","html_url":"https://github.com/j2l","followers_url":"https://api.github.com/users/j2l/followers","following_url":"https://api.github.com/users/j2l/following{/other_user}","gists_url":"https://api.github.com/users/j2l/gists{/gist_id}","starred_url":"https://api.github.com/users/j2l/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j2l/subscriptions","organizations_url":"https://api.github.com/users/j2l/orgs","repos_url":"https://api.github.com/users/j2l/repos","events_url":"https://api.github.com/users/j2l/events{/privacy}","received_events_url":"https://api.github.com/users/j2l/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-10-13T13:49:09Z","updated_at":"2018-10-14T15:19:36Z","closed_at":"2018-10-14T15:19:36Z","author_association":"NONE","body":"Hello,\r\nAfter multiple tests, I'm stuck at regex in XLS :(\r\n\r\n# Issue Template\r\nI searched issues and tried using the [NER Manager example](https://github.com/axa-group/nlp.js/blob/21b150cf6bff7a0aabb20f9b54995a05ff993cec/docs/ner-manager.md) before filling this issue.\r\n\r\n## Summary\r\nAdding an intent and response to the regex entity didn't throw any intent and response.\r\n\r\n## Simplest Example to Reproduce\r\nNER:\r\n![image](https://user-images.githubusercontent.com/65325/46906070-d4616300-cefd-11e8-835e-6cd130f1d7e7.png)\r\n\r\nNLP:\r\n![image](https://user-images.githubusercontent.com/65325/46906072-dfb48e80-cefd-11e8-963c-648217edb1ec.png)\r\n\r\nNLG:\r\n![image](https://user-images.githubusercontent.com/65325/46906073-f529b880-cefd-11e8-904f-0d3a3cab5b6a.png)\r\n\r\nAdded code (to `answer`):\r\n`\"Sorry, I don't understand, \" + JSON.stringify(result) + \", \";`\r\n\r\nInput:\r\n`my mail is dfdf@fffgfg.sd`\r\n\r\nResponse:\r\n`Sorry, I don't understand, {\"locale\":\"en\",\"localeIso2\":\"en\",\"language\":\"English\",\"utterance\":\"my mail is dfdf@fffgfg.sd\",\"intent\":\"None\",\"domain\":\"default\",\"score\":1,\"entities\":[{\"start\":11,\"end\":25,\"accuracy\":1,\"sourceText\":\"dfdf@fffgfg.sd\",\"utteranceText\":\"dfdf@fffgfg.sd\",\"entity\":\"mail\"}],\"sentiment\":{\"score\":0,\"comparative\":0,\"vote\":\"neutral\",\"numWords\":6,\"numHits\":0,\"type\":\"senticon\",\"language\":\"en\"}}, .`\r\n\r\n\r\n## Expected Behavior\r\n`I may write to you` (of course, in the future I'd like `I may write to you at %mail%`)\r\n\r\n| Software             | Version |\r\n|----------------------|---------|\r\n| `nlp.js`   |    2.1.0     |\r\n| `node`               |    8.9.3     |\r\n| `npm`                |     5.5.1    |\r\n| Operating System     |     Win10 Pro    |\r\n\r\nThanks for your help!"}}
{"actor":{"display_login":"j2l"}}