Skip to content

Maybe a class with the all important stuff defined at init? #1

@clausvestergaard

Description

@clausvestergaard

It'd be nice if the tokens, IOB, etc we're defined with the initialization of a class and then you could call a method specifiying which elements you'd like returned.

Maybe something like

doccano = Doccano(document)
tokens_and_iobs = doccano.get_elements(tokens=True, iobs=True)

and tokens_and_iobs would be a list of tuples with tokens and the corresponding iobs..

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