Spaces:
Sleeping
Sleeping
Commit ·
7486b42
1
Parent(s): e60cc65
Removed the broken join
Browse files22 unmodified lines2324252627282930313222 unmodified linesfor token in sentence:for entity in token.get_spans("ner"):entities.append(entity)print("ENTITIES ", entities)entities = "/n".join(entities)return entities22 unmodified lines232425262728293031323322 unmodified linesfor token in sentence:for entity in token.get_spans("ner"):print("ENT ", type(entity))entities.append(entity)print("ENTITIES ", entities)# entities = "/n".join(entities)return entities
app.py+2-1