Comments (6)
Hi @deppp !
Like @msobrevillac I also need such a tool for graph knowledge constructions.
It's almost similar to the "text annotation" feature but need to add relations between annotated entities.
Some web-based apps to clarify:
- https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6942516/
- https://brat.nlplab.org/examples.html
- https://github.com/weitechen/anafora
- https://webanno.github.io/webanno/use-case-gallery/semreldata/
At the beginning entities can have only names and simple relations (properties). In future it would be nice to have some standard formats: i.e. https://developers.google.com/knowledge-graph/reference/rest/v1 (schema.org entities)
Configurable output would be a kill feature as well!
from label-studio.
Hey, @msobrevillac can you please provide more details about that? Some examples would be nice.
from label-studio.
Oleg, @pilipenok, thanks for the info. Can you try out the interface of the current implementation? Basically, when you label a piece of text and then in the right side menu, click the "Relation" button, you can select another labeled region. That creates a relation between the items. If something like that works, I think we can extend that to include more properties and make them configurable, or add-on-the-fly.
Also, what do you mean by configurable output? Can you provide a use-case?
Thanks for the links btw
from label-studio.
oh, nice! Didn't see it before. I think this is the right way for relations but unfortunately it seems almost unusable for now:
- It's really hard to understand how to create a relation from that side menu (thanks for clarifications), especially when you have a list of 50+ entities and need to scroll up to text on every relation.
- all created relations look the same as unsensed "A text -> A text". It's impossible to recall what are they about.
In my opinion the side menu is a wrong place for the process. Need to see all the work right over the text.
Unfortunately I didn't have a chance to see json result because of error (win 10, the latest docker image):
[2020-01-30 07:26:21,025] [service] [CRITICAL]
--------------
Traceback (most recent call last):
File "/label-studio/label_studio/utils/misc.py", line 88, in exception_f
return f(*args, **kwargs)
File "/label-studio/label_studio/server.py", line 590, in api_completion_update
project.save_completion(task_id, completion)
File "/label-studio/label_studio/project.py", line 455, in save_completion
self._update_derived_output_schema(completion)
File "/label-studio/label_studio/project.py", line 138, in _update_derived_output_schema
for result in completion['result']:
KeyError: 'result'
--------------
Any way this is really a good start and your app will save our time and can be very helpfull.
Can't wait for new releases!
Updated: seems the same issue is on https://app.labelstud.io/export when exporting labeled text with relations. I see "[]" in json.
from label-studio.
Consider the configurable output, I mean that it would be nice to have an output json schema template that I want for my project without additional transformations.
Something like that:
"annotations": [{
"id": {{ $id }},
"textSegment": {
"content": "{{ $entity.text }}",
"startOffset": {{ $entity.start_from }},
"endOffset": {{ $entity.end_to }},
"type": "{{ $entity.label.name }}"
}
}]
Any way this feature needs huge amount of work to implement but not really important for now.
from label-studio.
It seems that we have the most functionality for semantic graphs at this moment. Take a look to this PR:
HumanSignal/label-studio-frontend#140
from label-studio.
Related Issues (20)
- The label images cannot be displayed on Web HOT 2
- Also deleting the image HOT 2
- Polygon new points are not created when clicking rapidly HOT 4
- Label-studio uses sqlite3 as the default database to store data, can I use a MySQL database to store data. HOT 2
- database migration error in devcontainer HOT 2
- Wrong rotation output of box annotations in exporting to YOLO format HOT 1
- Strip granularity option for NER labeling
- I start my label studio project but see nothing from front end HOT 1
- Polygon Labels, Rectangle Labels, Keypoint Labels, all the buttons are not showing in the UI HOT 4
- datamanager-AnnotationPreview not working HOT 2
- Issue with File Link Transformation in Label Studio on Windows: Backslashes Transformed to %5C, Resulting in Broken Links HOT 4
- "utf-8 codec can't encode character" error while export HOT 1
- Label Studio SDK doesnt download images with export_tasks and YOLO format HOT 2
- Easy Export to YOLO format causes absurd memory usage HOT 3
- Serving an Image File from a Static Server Gives "There was an issue loading URL from $image value" error HOT 4
- 15000 YOLO annotation file export HOT 5
- Bug: YOLO export reassigns categories to labels HOT 1
- Label Studio is unable to open my import .mp4 videos HOT 3
- Import questions for visual question answering from a file HOT 1
- when I click image,the page keeps loading HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from label-studio.