How can i remove tags from word

17 views
Skip to first unread message

dsuda...@gmail.com

unread,
Feb 24, 2017, 2:00:58 AM2/24/17
to nltk-users
Dear All,

please help me for removing a tag from the word ....

[[['Ontologies/NNS'], ['important/JJ', 'role/NN'], ['information/NN', 'exchange/NN'], ['sharing/NN'], ['human/JJ', 'experts/NNS']], [['process/NN'], ['time/NN'], ['effort/NN']], [['need/NN'], ['automated/JJ', 'ontology/NN', 'construction/NN'], ['various/JJ', 'knowledge/NN'], ['text/JJ', 'files/NNS']], [['key/JJ', 'challenge/NN'], ['automated/JJ', 'ontology/NN'], ['text/NN'], ['key/JJ', 'concepts/NNS'], ['domain/NN'], ['documents/NNS']], [['approaches/NNS'], ['large/JJ', 'set/NN'], ['data/NNS'], ['prior/JJ', 'domain\\u2013specific/NN', 'knowledge/NN']], [['such/JJ', 'knowledge/NN'], ['trained/JJ', 'data/NNS', 'sets/NNS']], [['issue/NN'], ['method/NN'], ['key/JJ', 'concepts/NNS'], ['unstructured/JJ', 'texts/NNS'], ['word/NN', 'association/NN', 'measure/NN'], ['statistical/JJ', 'knowledge/NN']], [['efficiency/NN'], ['method/NN'], ['comparison/NN'], ['state-of-the-art/JJ', 'method/NN'], ['extensive/JJ', 'experiments/NNS'], ['real-world/JJ', 'datasets/NNS']], [['obtained/JJ', 'results/NNS'], ['method/NN'], ['accuracy/NN'], ['state/NN'], ['art/NN', 'method/NN'], ['%/NN'], ['%/NN'], ['case/NN'], ['domain\\u2013specific/JJ', 'knowledge/NN']], [['results/NNS'], ['many/JJ', 'noun/JJ', 'phrases/NNS'], ['data/NNS', 'sets/NNS'], ['number/NN'], ['words/NNS']]]


thanks...

Denzil Correa

unread,
Feb 24, 2017, 3:30:20 AM2/24/17
to nltk-...@googlegroups.com
word.split('/')[0]

This has nothing to do with NLTK btw.

-- Sent from a mobile device. Pardon the typos, brevity.
--
You received this message because you are subscribed to the Google Groups "nltk-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nltk-users+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages