-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: 'spacy.tokens.token.Token' object has no attribute 'label_' #1131
Comments
Have you tried using |
I think the snipper of code I gave is wrong -- it should be |
Thanks for the correction. It is working now. I am working on use case for automating ticket resolution for our ITSM (IT service management). the first step is to disambiguate words in the tickets we receive. For example "Install MySQL in my system". I want to annotate the text like [Install:Action/MySQL:Software/System:machine] and parse this further to a format I wanted by adding more details about the machine which I will get from Knowledge-base, which is a graph. The parameters will be sent to RPA tool for resolving the request. I just want to know if I can use my own vocabulary/taxonomy in Spacy for this use case. If yes, can you give me some pointers how to go about it? Meanwhile, I will do my own research with Spacy. Thanks, |
Your usage scenario reminds me a lot of the current developments on bot frameworks, namely automatically identifying the user intent. For instance, Microsoft offers a trainable intent mechanism inside LUIS (https://docs.microsoft.com/en-us/bot-framework/nodejs/bot-builder-nodejs-recognize-intent) |
@Liebeck Thanks |
@satjaydepdar As far as my knowledge about spaCy goes, I'd say that spaCy can definetly be used as a part of what you have planned. I guess some things need to be stacked on top of spaCy. Custom taxonomy should be possible with the custom annotation pipeline components introduced in v2.0 or after you have used spaCy to process your texts. |
Check out rasa (https://github.com/RasaHQ/rasa_nlu, https://rasa.ai/), an open-source alternative to luis in part build on spacy. |
I went through the rasa.ai contents. I am getting hope that it will help to solve my use case. I will work on it more this week-end. Thanks for pointing me to the tool. Thanks |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hi,
I am learning Spacy for named entity extraction for my project. To practice, I am used the code written by Honnibal at #665. But I am getting the error reproduced below:
Please help to resolve the issue.
I am using:
Thanks
tellsathish
The text was updated successfully, but these errors were encountered: