{"action":"created","issue":{"url":"https://api.github.com/repos/RasaHQ/rasa_nlu/issues/1404","repository_url":"https://api.github.com/repos/RasaHQ/rasa_nlu","labels_url":"https://api.github.com/repos/RasaHQ/rasa_nlu/issues/1404/labels{/name}","comments_url":"https://api.github.com/repos/RasaHQ/rasa_nlu/issues/1404/comments","events_url":"https://api.github.com/repos/RasaHQ/rasa_nlu/issues/1404/events","html_url":"https://github.com/RasaHQ/rasa_nlu/issues/1404","id":362214509,"node_id":"MDU6SXNzdWUzNjIyMTQ1MDk=","number":1404,"title":"NER_CRF with spacy for pos feature?","user":{"login":"ctrado18","id":31693877,"node_id":"MDQ6VXNlcjMxNjkzODc3","avatar_url":"https://avatars0.githubusercontent.com/u/31693877?v=4","gravatar_id":"","url":"https://api.github.com/users/ctrado18","html_url":"https://github.com/ctrado18","followers_url":"https://api.github.com/users/ctrado18/followers","following_url":"https://api.github.com/users/ctrado18/following{/other_user}","gists_url":"https://api.github.com/users/ctrado18/gists{/gist_id}","starred_url":"https://api.github.com/users/ctrado18/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctrado18/subscriptions","organizations_url":"https://api.github.com/users/ctrado18/orgs","repos_url":"https://api.github.com/users/ctrado18/repos","events_url":"https://api.github.com/users/ctrado18/events{/privacy}","received_events_url":"https://api.github.com/users/ctrado18/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2018-09-20T14:27:41Z","updated_at":"2018-09-27T08:08:30Z","closed_at":"2018-09-27T08:08:30Z","author_association":"NONE","body":"NLU: 13.1\r\n\r\n\r\nIt is from docs not clear how what to do if you just want the POS feature for CRF. I assumed this here:\r\n\r\n\r\n\r\n\r\n```\r\nlanguage: \"de_core_news_sm\"\r\n\r\npipeline:\r\n- name: \"nlp_spacy\"\r\n- name: \"intent_featurizer_count_vectors\"\r\n- name: \"intent_classifier_tensorflow_embedding\"\r\n- name: \"tokenizer_whitespace\"\r\n- name: \"ner_crf\"\r\n```\r\n\r\nSo just added the `nlp_spacy`.\r\n Then:\r\n\r\n```\r\n    return message.get(\"tokens\")[i].get(\"pattern\", {})\r\nIndexError: list index out of range\r\n\r\n```\r\nI assume tghis comes from that just `tokens` and not `spacy_doc` is required?!"},"comment":{"url":"https://api.github.com/repos/RasaHQ/rasa_nlu/issues/comments/424998481","html_url":"https://github.com/RasaHQ/rasa_nlu/issues/1404#issuecomment-424998481","issue_url":"https://api.github.com/repos/RasaHQ/rasa_nlu/issues/1404","id":424998481,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNDk5ODQ4MQ==","user":{"login":"akelad","id":32450038,"node_id":"MDQ6VXNlcjMyNDUwMDM4","avatar_url":"https://avatars3.githubusercontent.com/u/32450038?v=4","gravatar_id":"","url":"https://api.github.com/users/akelad","html_url":"https://github.com/akelad","followers_url":"https://api.github.com/users/akelad/followers","following_url":"https://api.github.com/users/akelad/following{/other_user}","gists_url":"https://api.github.com/users/akelad/gists{/gist_id}","starred_url":"https://api.github.com/users/akelad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akelad/subscriptions","organizations_url":"https://api.github.com/users/akelad/orgs","repos_url":"https://api.github.com/users/akelad/repos","events_url":"https://api.github.com/users/akelad/events{/privacy}","received_events_url":"https://api.github.com/users/akelad/received_events","type":"User","site_admin":false},"created_at":"2018-09-27T08:08:30Z","updated_at":"2018-09-27T08:08:30Z","author_association":"COLLABORATOR","body":"Then use the `ner_crf` without the POS feature. Or you can also build a custom component for this if you like. I'm going to close this issue now as it's more of a discussion, if you want to discuss this further please post in our forum"}}
{"actor":{"display_login":"akelad"}}