-
Notifications
You must be signed in to change notification settings - Fork 1
/
m2_index.yml
40 lines (40 loc) · 1.06 KB
/
m2_index.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
This is the TSE-NER Labeller
Call this with a piece of text and NER model to get the labelled entities
---
tags:
- Label Long-tail Entities
parameters:
- name: text
in: path
type: string
maxLength: 10000
required: true
description: The text that will be labelled by the model
- name: model
in: query
type: string
description: Selected model
responses:
501:
description: Error The model does not exist!
502:
description: Error Input text is too long!
200:
description: Entities from text
schema:
id: labelling
properties:
text:
type: string
description: The text that will be labelled by the model
default: In this work, we evaluate our algorithm using the Imagenet corpus, as well as Flickr
model:
type: string
description: The selected model
default: dataset_TSE_model_5
entities:
type: array
description: Labelled entities
items:
type: string
default: ["imagenet", "flickr"]