Skip to content

How to convert dataset.py generated labels to BIO or equivalent tag formats ? #6

Description

@sankaran45

Hi,

I ran dataset.py on my own POS-tagged dataset and i have output that looks like the below. I am using AllenNLP and my other inputs are in BIO format. My doubt is how to re-tag the labels (e.g., 1@ROOT~NP) in the below to suit either a BIO or a similar format (e.g., BMES) .. I looked into the various parts of the library but it was not very obvious to me.

unit NN 1@ROOTNP
number NN 0@ROOT
NP
: : NONE

Any help will be appreciated. Sorry if its a silly question :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions