2 years ago

#62405

test-img

Ca1eb9

Extract text from tuples

I am a beginner. How can I extract certain text from a tuple or list in this example?

Example:

(<QueryEntity 'example_entity' ('example_entity_type') 
char: [somechar-somechar], tok: [sometok-sometok]>,)

I want to extract example_entity and example_entity_type from the tuple. I tried converting to a list and still get errors about QueryEntity.

python

nlp

entity

text-extraction

0 Answers

Your Answer

Accepted video resources