Giter VIP home page Giter VIP logo

Comments (9)

alohia avatar alohia commented on May 20, 2024 5

Yes, this is exactly what I am talking about.
It would also be great to be able to upload or specify the list of labels programmatically rather than having to type them one by one in the browser.

from doccano.

icoxfog417 avatar icoxfog417 commented on May 20, 2024 3

Thank you for the clarification of the request! It means "project should have multiple label set", is it right?

Let me show an example of this feature to recognize the concrete use case. In the Aspect-Based-Sentiment-Analysis, label set differs by entity.

image

("RESTAURANT" entity has "GENERAL", "PRICES", "MISCELLANEOUS", on the other hand "FOOD" entity has "PRICES", "QUALITY", "STYLE & OPTIONS").

If doccano supports multiple label set, user can switch label set depends on the entity (or class label) of the sentence. Do I show a correct situation?

from doccano.

fm444fm avatar fm444fm commented on May 20, 2024 1

I also would be interested in seeing this feature added, if it's not there already. I.e. instead than having a single set of labels for the whole project (e.g. a NER annotation of a set of sentences), each sentence in the input set could carry its own definitions of the labels, which may or may not replace the default labels for the whole project. This would allow for example for more fine grained annotation only on specific sentences of the dataset while keeping the default (e.g. much less in number) labels for the rest of the dataset

from doccano.

icoxfog417 avatar icoxfog417 commented on May 20, 2024

Does your question mean whether doccano supports multi-label task? If so, you can annotate multiple labels by doccano.

from doccano.

alohia avatar alohia commented on May 20, 2024

Yes, I am referring to the same kind of scenario as @fm444fm mentioned. Basically, having a different set of possible labels for all sentences in a project. Then the labeler may select one or more labels as desired.

from doccano.

jamesmf avatar jamesmf commented on May 20, 2024

It would also be great to be able to upload or specify the list of labels programmatically rather than having to type them one by one in the browser.

I agree that's good functionality. If it's something you need in the short term, it's easily done through the python manage.py shell or by adding a custom command. Here's an example.

If doing a bulk uploading of labels is eventually supported, it'd also be nice to have them automatically have their shortcut be the first character of the label (when available) and the colors not overlap.

from doccano.

alohia avatar alohia commented on May 20, 2024

Yes, I made these changes in my forked version of the repo to support bulk upload with different label sets.

from doccano.

kuraga avatar kuraga commented on May 20, 2024

👍 for this feature!

from doccano.

kuraga avatar kuraga commented on May 20, 2024

👍 for text classification projects, too.

from doccano.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.