Questions tagged [universal-pos-tag]

3 questions
1
vote
0 answers

Replace adverbs with their antonyms if antonym exists

Is there a tool that can replace the adverbs of a set of sentences with their suitable antonym/synonym? I have used pos_tag universal to tag the pos. Could you please help me proceed further? Thankyou. I can use the code below to find the antonym of…
1
vote
1 answer

How to create a TokenList using the conllu library?

I'm trying to create a CoNLL-U file using the conllu library as part of a Universal Dependency tagging project I'm working on. I have a number of sentences in python lists. These contain sub-lists of tokens, lemmata, POS tags, features, etc. For…
AdeDoyle
  • 361
  • 1
  • 14
1
vote
1 answer

How to use the universal POS tags with nltk.pos_tag() function?

I have a text and I want to find number of 'ADJs','PRONs', 'VERBs', 'NOUNs' etc. I know that there is .pos_tag() function but it gives me different results , and I want to have results as 'ADJ','PRON', 'VERB', 'NOUN'. This is my code: import…
taga
  • 3,537
  • 13
  • 53
  • 119