Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sankaran45 opened this issue Dec 23, 2021 · 0 comments

Comments

@sankaran45
Copy link

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 :-)

@sankaran45 sankaran45 changed the title Doubt on labels generated by dataset.py How to convert dataset.py generated labels to BIO or equivalent tag formats ? Dec 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant