All Products
Search
Document Center

Platform For AI:Text labeling templates

Last Updated:Apr 09, 2026

iTAG provides labeling templates for Named Entity Recognition (NER), text classification, and entity relationship extraction.

Supported templates

iTAG supports the following text labeling templates:

Named Entity Recognition

Named Entity Recognition (NER) involves selecting and labeling specific spans of text.

  • Use cases

    Identify key terms in product descriptions or news articles.

  • Data structure

    • Input data

      Each line in the manifest file represents one data item and contains a source field.

      {"data":{"source":"Alibaba acquired Vendio and Auctiva, two e-commerce solution providers for small businesses in the United States. In the same month, the Mobile Taobao app was launched."}}
      ...
    • Output data

      Each line in the manifest file contains the source data and the labeling result.

      {
          "data": {
              "source": "Alibaba acquired Vendio and Auctiva, two e-commerce solution providers for small businesses in the United States. In the same month, the Mobile Taobao app was launched."
          }, 
          "label-1430082002522152960": {
              "results": [
                  {
                      "objects": [
                          {
                              "result": {
                                  "Text Content": [
                                      "Label 1"
                                  ]
                              }, 
                              "color": null, 
                              "id": null, 
                              "text": "Recognized text 1", 
                              "start": 49, 
                              "end": 51
                          }, 
                          {
                              "result": {
                                  "Text Content": [
                                      "Label 2", 
                                      "Label 3"
                                  ]
                              }, 
                              "color": null, 
                              "id": null, 
                              "text": "Recognized text 2", 
                              "start": 34, 
                              "end": 40
                          }
                      ], 
                      "empty": false
                  }
              ]
          }
      }

Text classification

Text classification assigns one or more predefined labels to a text segment. This template supports both single-label and multi-label classification.

  • Use cases

    News recommendation, knowledge management, and spam filtering.

  • Data structure

    • Input data

      Each line in the manifest file represents one data item and contains a source field.

      {"data":{"source":"Alibaba changed the name of its Chinese trading market to \"1688\". In the same month, Taobao launched the group-buying website Juhuasuan."}}
      ...
    • Output data

      Each line in the manifest file contains the source data and the labeling result.

      {
          "data": {
              "source": "Alibaba changed the name of its Chinese trading market to \"1688\". In the same month, Taobao launched the group-buying website Juhuasuan."
          }, 
          "label-1432989439570944000": {
              "results": [
                  {
                      "questionId": "2", 
                      "data": [
                          "Label 2", 
                          "Label 1"
                      ], 
                      "markTitle": "Multiple-choice", 
                      "type": "survey/multivalue"
                  }
              ]
          }
      }

Entity relationship

Entity relationship labeling, also called triple extraction, labels relationships between entities to build knowledge graphs.

  • Use cases

    Build knowledge graphs.

  • Data structure

    • Input data

      Each line in the manifest file represents one data item and contains a source field.

      {"data":{"source":"Alibaba changed the name of its Chinese trading market to \"1688\". In the same month, Taobao launched the group-buying website Juhuasuan."}}
      ...
    • Output data

      Each line in the manifest file contains the source data and the labeling result.

      {
          "data": {
              "source": "Alibaba changed the name of its Chinese trading market to \"1688\". In the same month, Taobao launched the group-buying website Juhuasuan."
          }, 
          "label-1435488346167255040": {
              "results": [
                  {
                      "objects": [
                          {
                              "result": {
                                  "Multiple-choice": [
                                      "Label 3"
                                  ]
                              }, 
                              "color": null, 
                              "id": null, 
                              "text": "group-buying website", 
                              "start": 32, 
                              "end": 35
                          }, 
                          {
                              "result": {
                                  "Multiple-choice": [
                                      "Label 2"
                                  ]
                              }, 
                              "color": null, 
                              "id": null, 
                              "text": "1688", 
                              "start": 18, 
                              "end": 21
                          }, 
                          {
                              "result": {
                                  "Multiple-choice": [
                                      "Label 1"
                                  ]
                              }, 
                              "color": null, 
                              "id": null, 
                              "text": "trading market", 
                              "start": 9, 
                              "end": 12
                          }
                      ], 
                      "empty": false
                  }, 
                  [
                      {
                          "result": {
                              "Single-choice": "Label 4"
                          }, 
                          "from": {
                              "x": -225, 
                              "y": -126, 
                              "start": 9, 
                              "end": 12, 
                              "text": "trading market"
                          }, 
                          "to": {
                              "x": -233, 
                              "y": 75, 
                              "start": 18, 
                              "end": 21, 
                              "text": "1688"
                          }
                      }, 
                      {
                          "result": {
                              "Single-choice": "Label 6"
                          }, 
                          "from": {
                              "x": -225, 
                              "y": -126, 
                              "start": 9, 
                              "end": 12, 
                              "text": "trading market"
                          }, 
                          "to": {
                              "x": 24, 
                              "y": -93, 
                              "start": 32, 
                              "end": 35, 
                              "text": "group-buying website"
                          }
                      }, 
                      {
                          "result": {
                              "Single-choice": "Label 4"
                          }, 
                          "from": {
                              "x": -233, 
                              "y": 75, 
                              "start": 18, 
                              "end": 21, 
                              "text": "1688"
                          }, 
                          "to": {
                              "x": 24, 
                              "y": -93, 
                              "start": 32, 
                              "end": 35, 
                              "text": "group-buying website"
                          }
                      }
                  ]
              ]
          }
      }