Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -752,15 +752,16 @@ def create_interface():
|
|
752 |
gr.Markdown("""
|
753 |
# Named Entity Recognition (NER) Explorer Tool
|
754 |
|
755 |
-
Combine common NER categories with your own custom entity types!
|
|
|
756 |
|
757 |
-
### How to use:
|
758 |
1. **π Enter your text** in the text area below
|
759 |
-
2. **π― Select a model** from the dropdown
|
760 |
-
3. **βοΈ Select common
|
761 |
-
4. **β¨ Add custom entities** (comma-separated) like "relationships, occupations, skills"
|
762 |
5. **βοΈ Adjust confidence threshold**
|
763 |
-
6. **π Click "Analyse Text"** to see results
|
764 |
(NB: common/custom entities which overlap are shown with split-colour highlighting)
|
765 |
""")
|
766 |
# Add tip box
|
@@ -1003,7 +1004,7 @@ def create_interface():
|
|
1003 |
<a href="https://digitalscholarship.web.ox.ac.uk/" target="_blank" style="color: #1976d2;">
|
1004 |
Digital Scholarship at Oxford (DiSc)
|
1005 |
</a>
|
1006 |
-
funded research project
|
1007 |
<em>Extracting Keywords from Crowdsourced Collections</em>.
|
1008 |
</p>
|
1009 |
<p style="font-size: 14px; line-height: 1.8; margin: 0;">
|
|
|
752 |
gr.Markdown("""
|
753 |
# Named Entity Recognition (NER) Explorer Tool
|
754 |
|
755 |
+
Combine common Named Entity Recognition (NER) categories with your own custom entity types!
|
756 |
+
This tool uses both traditional NER models and GLiNER for comprehensive entity extraction, allowing you to explore what NER looks like in practice.
|
757 |
|
758 |
+
### How to use this tool:
|
759 |
1. **π Enter your text** in the text area below
|
760 |
+
2. **π― Select a model** from the dropdown menu
|
761 |
+
3. **βοΈ Select common entity types** you want to identify (PER, ORG, LOC, etc.)
|
762 |
+
4. **β¨ Add custom entities** (comma-separated) like "relationships, occupations, skills"
|
763 |
5. **βοΈ Adjust confidence threshold**
|
764 |
+
6. **π Click "Analyse Text"** to see results
|
765 |
(NB: common/custom entities which overlap are shown with split-colour highlighting)
|
766 |
""")
|
767 |
# Add tip box
|
|
|
1004 |
<a href="https://digitalscholarship.web.ox.ac.uk/" target="_blank" style="color: #1976d2;">
|
1005 |
Digital Scholarship at Oxford (DiSc)
|
1006 |
</a>
|
1007 |
+
funded research project:<br>
|
1008 |
<em>Extracting Keywords from Crowdsourced Collections</em>.
|
1009 |
</p>
|
1010 |
<p style="font-size: 14px; line-height: 1.8; margin: 0;">
|