Click here to Skip to main content
15,886,806 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello everyone,

I am new to NLP and haven't used spacy that much, I am learning by myself.
My question is, is there a way to classify if a text is a warning or an order, using spacy's classification libraries and POS taggers. For example "Open that door" is an order, how do I classify it?

What I have tried:

I have used POS taggers but with the tags I can't seem to figure out what type of text it is, how to make the machine understand if a text is, say for example an order? I am not trying to train any model or anything advance like this.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900