テキストプロジェクトの入出力フォーマットを説明します。

各フォーマット内のattributes部分については共通フォーマットをご参照ください。

固有値表現抽出

[
    {
        "id": "73dfe0fb-a15a-40b8-957a-8f93e9ae5e9a",
        "name": "terms.txt",
        "status": "registered",
        "externalStatus": "registered",
        "url": "Signed URL of your image",
        "secondsToAnnotate": 0,
        "annotations": [
            {
                "type": "ner",
                "title": "固有名称",
                "value": "unique",
                "color": "#D10069",
                "attributes": [],
                "text": "FastLabel",
                "start": 46, // start position of text
                "end": 55    // end position of text
            },
            {
                "type": "ner",
                "title": "日付",
                "value": "date",
                "color": "#69D100",
                "attributes": [],
                "text": "2021年1月1日",
                "start": 7058,
                "end": 7068
            }
        ],
        "tags": [],
        "assignee": null,
        "reviewer": null,
        "approver": null,
        "externalAssignee": null,
        "externalReviewer": null,
        "externalApprover": null,
        "createdAt": "2021-09-14T17:27:29.700Z", // ISO8601
        "updatedAt": "2021-09-14T17:27:29.700Z"  // ISO8601
    }
]

分類

[
    {
        "id": "a963745c-166d-4940-8f7e-b7c2488e157f",
        "name": "terms.txt",
        "status": "registered",
        "externalStatus": "registered",
        "url": "Signed URL of your image",
        "secondsToAnnotate": 0,
        "attributes": [
            {
                "type": "text",
                "name": "Text",
                "key": "text",
                "value": "text"
            },
            {
                "type": "radio",
                "name": "Gender",
                "key": "gender",
                "value": "man"
            },
            {
                "type": "select",
                "name": "Profession",
                "key": "profession",
                "value": "office worker"
            },
            {
                "type": "checkbox",
                "name": "Type",
                "key": "type",
                "value": [
                    "casual"
                ]
            },
            {
                "type": "number",
                "name": "number",
                "key": "number",
                "value": 8
            },
            {
                "type": "textarea",
                "name": "text",
                "key": "text",
                "value": "text\\narea\\ntext\\narea"
            },
            {
                "type": "switch",
                "name": "Switch",
                "key": "switch",
                "value": "1"
            }
        ],
        "tags": [],
        "assignee": null,
        "reviewer": null,
        "approver": null,
        "externalAssignee": null,
        "externalReviewer": null,
        "externalApprover": null,
        "createdAt": "2021-09-14T17:32:35.546Z", // ISO8601
        "updatedAt": "2021-09-14T17:32:35.546Z"  // ISO8601
    }
]

テキスト付

”Text”の列に、タスクに登録されているテキストが入ります。

annotations.csv

"Name","Status","Assignee","Reviewer","Approver","External Status","External Assignee","External Reviewer","External Approver","Seconds To Annotate","Tags","Attribute Type","Attribute Name","Attribute Key","Attribute Value","Text","Created At","Updated At"
"sample.txt","registered","","","","registered","","","","0","","number","num","num","0","ダミーテキストダミーテキストダミーテキスト","2022-07-24 22:32:11.827983","2022-07-24 22:32:11.827983"