Skip to main content

Creation of a project: NER and classification

From the header, click on Create new project.

Screenshot 1-1

1/ Project tab

Fill in the required fields:

  • Customer
  • Project type
  • Project name
  • Project deadline
  • Project description

Non-mandatory fields:

  • Default markers: appears on the item later
  • to delete: indicates an item to delete
  • to check: indicates an item to check
  • to discuss: indicates an item to discuss

You can define access levels for the imported item :

  • the admin
  • the data scientist
  • the user

Screenshot 1-2

2/ Files tab

Screenshot 1-3

the fields :

  • Config file: config file
  • Annotations file: file containing the annotations linked to the item
  • Predictions file: file containing the predictions linked to the item

Unlike annotations, predictions come from a pre-trained model. After the import, we can choose whether to keep them or not.

As for the mandatory field:

  • item file: this is a list that must be prepared in advance including the type of item and a unique id

3/ Labeling tab

You can define what you want to do with the project.

  • Task Title: defines the name
  • Task Type: defines the type

Screenshot 1-4

You can add a new label by clicking on Add a new label.

The fields :

  • Label Code: must be unique
  • Label Name: does not necessarily have to have the same name as Label Code
  • Color: defines the color of the label
  • Hotkey: allows you to create a keyboard shortcut
  • Label Description: describes the label

Screenshot 1-5

caution

Once these labels have been defined, it is no longer possible to modify them later.

4/ Annotation Guide tab

Here you can define annotation rules.

Once the specifications of a project have been filled in, you can click on Add a new task to start filling in the details of another project.

Screenshot 1-6

ex config.json

{
"tasks": [],
"name": "DEMO: NER and Classification text",
"client": "LJN",
"type": "text",
"highlights": [],
"description": "Demo NER and Classification",
"admins": ["admin@test.com"],
"users": ["user@test.com"],
"dataScientists": ["data@test.com"],
"defaultTags": [],
"showPredictions": true,
"prefillPredictions": true,
"filterPredictionsMinimum": 0.4,
"deadline": "2023-04-30T13:57:20.355Z",
"entitiesRelationsGroup": []
}

ex items.jsonlines

{"predictions":{"raw":{"Sentiment":{"labels":[{"value":"pos","proba":0.999}]},"Entities 1":{"entities":[{"value":"name","start":23,"end":33}]}},"keys":[{"value":"pos","proba":0.999},{"value":"name","start":23,"end":33}]},"uuid":"76030ac8-6d2d-40ab-a497-4aa6a1404446","data":{"text":"Bonjour, je souhaite pouvoir changer mes heures creuse heure pleine"},"type":"text","metadata":{},"description":"","annotated":true,"annotatedBy":["userProfile-42@lajavaness.com"],"createdAt":1658755620546,"velocity":102,"lastAnnotator":{"email":"userProfile-42@lajavaness.com"},"annotatedAt":"2020-11-16T14:17:09.627Z","seenAt":"2022-11-18T09:15:06.634Z"}
{"predictions":{},"uuid":"41ee6af9-078f-4ad9-8bec-6fe1b8871c08","data":{"text":"Je suis en discussion en ce moment avec @E ..."},"type":"text","metadata":{},"description":"","annotated":false,"createdAt":1658755620546,"velocity":null,"lastAnnotator":{},"seenAt":"2022-11-21T07:31:08.874Z"}
{"predictions":{},"uuid":"e0870093-180d-46ac-9dd8-2e4b9661025f","data":{"text":"Bonjour j'aimerai demander des informations concernant une regularisation suite à un changement de compteur"},"type":"text","metadata":{},"description":"","annotated":true,"annotatedBy":["userProfile-42@lajavaness.com"],"createdAt":1658755620546,"velocity":19,"lastAnnotator":{"email":"userProfile-42@lajavaness.com"},"annotatedAt":"2020-11-16T14:15:27.927Z","seenAt":"2022-11-21T07:31:06.480Z"}
{"predictions":{},"uuid":"7caffcc4-ee3d-41ce-9d7e-32fe7c99b064","data":{"text":"Bonjour @E maintenant que je dispose d'un beau compteur communiquant, pouvez-vous m'indiquer les démarches à suivres pour consulter ma consommation en \"direct\" ?"},"type":"text","metadata":{},"description":"","annotated":true,"annotatedBy":["userProfile-42@lajavaness.com"],"createdAt":1658755620546,"velocity":123,"lastAnnotator":{"email":"userProfile-42@lajavaness.com"},"annotatedAt":"2020-11-16T14:15:08.057Z","seenAt":"2022-11-21T07:31:03.042Z"}