Skip to content

get_entities #86

@qhd1996

Description

@qhd1996

How to reproduce the behaviour

Your Environment

  • Operating System:
  • Python Version:
  • Package Version:
    seq = ['O', 'B-PER', 'I-LOC', 'O', 'B-LOC', 'I-PER']
    print(get_entities(seq))
    [('PER', 1, 1), ('LOC', 2, 2), ('LOC', 4, 4), ('PER', 5, 5)]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions