Skip to content

[Question]: sentence.to_dict(tag_type='ner') no longer have the 'entities' key  #3265

@javinator48

Description

@javinator48

Question

Currently I run the example shown here in a previous issues question. However I am unable to get the correct format for the sentence.to_dict(tag_type='ner') output. Currently I am expecting there to be an entities key but my out put doesn't have the key. I was wondering if there is a flag I have to set when calling the to_dict function. Why isn't it working the same as before?
Screen Shot 2023-06-13 at 3 01 39 PM

Screen Shot 2023-06-13 at 3 04 50 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions