Spaces:
Configuration error
Configuration error
|
Download docs/source/templates/html_document.md from bisalsaha/lebel-studio: direct link, hf CLI and curl.
- Browser
- Download file 1.54 kB
-
https://huggingface.co/spaces/bisalsaha/lebel-studio/resolve/main/docs/source/templates/html_document.md
- Command line
-
hf download hf://spaces/bisalsaha/lebel-studio/docs/source/templates/html_document.md
-
curl -L -o html_document.md https://huggingface.co/spaces/bisalsaha/lebel-studio/resolve/main/docs/source/templates/html_document.md
1.54 kB
| title: HTML Entity Recognition | |
| type: templates | |
| category: Structured Data Parsing | |
| cat: structured-data-parsing | |
| order: 515 | |
| meta_title: HTML Entity Resolution Data Labeling Template | |
| meta_description: Template for performing HTML document entity resolution with Label Studio for your machine learning and data science projects. | |
| <br/><img src="/images/templates/html-entity-recognition.png" alt="" class="gif-border" width="552px" height="408px" /> | |
| Perform named entity recognition for HTML documents. Use this template to display text with HTML markup and label spans. | |
| <!--Removing interactive template because it doesn't work due to the outdated version of LSF in playground--> | |
| ## Labeling Configuration | |
| ```html | |
| <View> | |
| <Labels name="ner" toName="text"> | |
| <Label value="Person"></Label> | |
| <Label value="Organization"></Label> | |
| </Labels> | |
| <HyperText name="text" value="$text"></HyperText> | |
| </View> | |
| ``` | |
| ## About the labeling configuration | |
| All labeling configurations must be wrapped in [View](/tags/view.html) tags. | |
| Use the [Labels](/tags/labels.html) control tag to specify the entities that you want annotators to annotate on the HTML document: | |
| ```xml | |
| <Labels name="ner" toName="text"> | |
| <Label value="Person"></Label> | |
| <Label value="Organization"></Label> | |
| </Labels> | |
| ``` | |
| Use the [HyperText](/tags/hypertext.html) object tag to display the text containing HTML markup: | |
| ```xml | |
| <HyperText name="text" value="$text"></HyperText> | |
| ``` | |
| ## Related tags | |
| - [Labels](/tags/labels.html) | |
| - [HyperText](/tags/hypertext.html) |