forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Lai, Weijian <laiweijian4@huawei.com> Co-committed-by: Lai, Weijian <laiweijian4@huawei.com>
46 lines
16 KiB
HTML
46 lines
16 KiB
HTML
<a name="EN-US_TOPIC_0000001910067646"></a><a name="EN-US_TOPIC_0000001910067646"></a>
|
|
|
|
<h1 class="topictitle1">Text Triplet</h1>
|
|
<div id="body8662426"><p id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_p9341517201016">Triplet labeling is suitable for scenarios where structured information, such as subjects, predicates, and objects, needs to be labeled in statements. With this function, not only entities in statements, but also relationships between entities can be labeled. Triplet labeling is often used in natural language processing tasks such as dependency syntax analysis and information extraction.</p>
|
|
<p id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_p104911044201012">Text triplet labeling involves two classes of important labels: <span class="parmname" id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_parmname49551702287"><b>Entity Label</b></span> and <span class="parmname" id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_parmname1095630112820"><b>Relationship Label</b></span>. For <span class="parmname" id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_parmname6983183015615"><b>Relationship Label</b></span>, set its <span class="parmname" id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_parmname1998313025611"><b>Source entity</b></span> and <span class="parmname" id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_parmname1198312302565"><b>Target entity</b></span>.</p>
|
|
<ul id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_ul152271442114"><li id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_li12227184481117">You can define multiple entity and relationship labels for a text object.</li><li id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_li51374917129">The <span class="parmname" id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_parmname125941740153911"><b>Entity Label</b></span> defined during dataset creation cannot be deleted.</li></ul>
|
|
<div class="section" id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_section107911948173710"><h4 class="sectiontitle">Precautions</h4><p id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_p1520711439365">Before labeling, ensure that the <strong id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_b819414434477">Entity Label</strong> and <strong id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_b109881746124714">Relationship Label</strong> of a labeling job have been defined. For <span class="parmname" id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_parmname131108212483"><b>Relationship Label</b></span>, set its <span class="parmname" id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_parmname91116224815"><b>Source entity</b></span> and <span class="parmname" id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_parmname51112020480"><b>Target entity</b></span>. <span class="parmname" id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_parmname17253101489"><b>Relationship Label</b></span> must be between the defined <span class="parmname" id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_parmname9725510104814"><b>Source entity</b></span> and <span class="parmname" id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_parmname872591014819"><b>Target entity</b></span>.</p>
|
|
<p id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_p10119142010375">For example, if two entities are labeled as <span class="parmname" id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_parmname1185220267525"><b>Place</b></span>, you cannot add any relationship label between them. If a relationship label cannot be added, a red cross is displayed.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_section139520290612"><h4 class="sectiontitle">Starting Labeling</h4><ol id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_en-us_topic_0000001185384417_ol1332113431875"><li id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_en-us_topic_0000001185384417_li173221243078">Log in to the ModelArts management console. In the navigation pane on the left, choose <strong id="EN-US_TOPIC_0000001910067646__b73134123842747">Data Management</strong> > <span class="parmname" id="EN-US_TOPIC_0000001910067646__parmname110899159942747"><b>Label Data</b></span>.</li><li id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_en-us_topic_0000001185384417_li1241123818438">In the labeling job list, select a labeling type from the <strong id="EN-US_TOPIC_0000001910067646__b2122133165912">All type</strong> drop-down list, click the job to be performed based on the labeling type. The details page of the job is displayed.</li><li id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_en-us_topic_0000001185384417_li1766010993710">The job details page displays all data of the labeling job.</li></ol>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_section616011413170"><h4 class="sectiontitle">Synchronizing New Data</h4><p id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_p114233449177">ModelArts automatically synchronizes data and labeling information from datasets to the labeling job.</p>
|
|
<p id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_p38711841115016">To quickly obtain the latest data in the datasets, in the <strong id="EN-US_TOPIC_0000001910067646__b152264714454">Unlabeled</strong> tab of the labeling job details page, click <strong id="EN-US_TOPIC_0000001910067646__b9522747184514">Synchronize New Data</strong>.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_section888019266174"><h4 class="sectiontitle">Labeling Text Files</h4><p id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_p1024714161239">The labeling job details page displays the <strong id="EN-US_TOPIC_0000001910067646__b192492558457">Unlabeled</strong> and <strong id="EN-US_TOPIC_0000001910067646__b15249125544518">Labeled</strong> tabs. The <strong id="EN-US_TOPIC_0000001910067646__b025011552453">Unlabeled</strong> tab is displayed by default.</p>
|
|
<ol id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_ol875212814111"><li id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_li127526819118">In the <span class="wintitle" id="EN-US_TOPIC_0000001910067646__wintitle866175917454"><b>Unlabeled</b></span> tab, the objects to be labeled are listed in the left pane. In the list, click a text object, select the corresponding text content on the right pane, and select an entity name from the displayed entity list to label the content.</li><li id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_li16467818104618">After labeling multiple entities, click the source entity and target entity in sequence and select a relationship type from the displayed relationship list to label the relationship.</li><li id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_li156691585465">After all objects are labeled, click <span class="uicontrol" id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_uicontrol16971264129"><b>Save Current Page</b></span> at the bottom of the page.</li></ol>
|
|
<div class="note" id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_note1931331674812"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_p18314171624812">You cannot modify the labels of a dataset in the text triplet type on the labeling page. Instead, click <strong id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_b712153484515">Label Management</strong> and modify the <strong id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_b10151145711459">Entity Label</strong> and <strong id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_b1972220010466">Relationship Label</strong>.</p>
|
|
</div></div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_section0534612151819"><h4 class="sectiontitle">Modifying Labeled Data</h4><p id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_p131161432143310">After labeling data, you can modify labeled data in the <span class="parmname" id="EN-US_TOPIC_0000001910067646__parmname33931313154617"><b>Labeled</b></span> tab.</p>
|
|
<p id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_p758718288619">On the labeling job details page, click the<strong id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_b76701938184616"> Labeled</strong> tab. Select a text object in the left pane and the right pane displays the detailed label information. You can move your cursor to the entity or relationship label, and right-click to delete it. You can also click the source entity and target entity in sequence to add a relationship label.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_section44051826191810"><h4 class="sectiontitle">Adding a File</h4><p id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_en-us_topic_0170889731_p266117351147">In addition to the data synchronized, you can directly add data on labeling job details page for labeling.</p>
|
|
<ol id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_en-us_topic_0170889731_ol429210266513"><li id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_en-us_topic_0170889731_li1924993814520">On the labeling job details page, click the <strong id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_b955257114918">Unlabeled</strong> tab, click <strong id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_b65521679490">Add data</strong> in the upper left corner.</li><li id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_li01454543219">Configure input data and click <span class="uicontrol" id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_uicontrol122611312134916"><b>OK</b></span>.<p id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_p2070881211273">For details about how to import data, see section "Importing Data".</p>
|
|
</li></ol>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_section15379942161810"><h4 class="sectiontitle">Deleting a File</h4><p id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_en-us_topic_0170889731_p3752212171611">You can quickly delete the files you want to discard.</p>
|
|
<ul id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_ul119169331673"><li id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_li193023715719">In the <strong id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_b1945763185015">Unlabeled</strong> tab, select the text to be deleted, and click <strong id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_b18458113110504">Delete</strong> in the upper left corner.</li><li id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_li176232415014">In the <span class="wintitle" id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_wintitle3362852185018"><b>Labeled</b></span> tab, select the text to be deleted, and click <span class="uicontrol" id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_uicontrol336214529501"><b>Delete</b></span>. Alternatively, tick <span class="parmname" id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_parmname0817135410509"><b>Select Current Page</b></span> to select all text objects on the current page and click <span class="uicontrol" id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_uicontrol20818554175013"><b>Delete</b></span> in the upper left corner.</li></ul>
|
|
<p id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_p2148165245011">The background of the selected text is blue. If no text is selected on the page, the <strong id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_b1212412105118">Delete</strong> button is unavailable.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001185265233_section11766134133017"><h4 class="sectiontitle">Managing Annotators</h4><p id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001398306840_en-us_topic_0000001185384417_p0400144621811">If team labeling is enabled for a labeling job, view its labeling details in the <strong id="EN-US_TOPIC_0000001910067646__b15480097474">Annotator Management</strong> tab. Additionally, you can add, modify, or delete annotators.</p>
|
|
<ol id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001398306840_ol14491310172315"><li id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001398306840_li049171011232">Choose <strong id="EN-US_TOPIC_0000001910067646__b4510145453316">Data Management</strong> > <strong id="EN-US_TOPIC_0000001910067646__b19510175410339">Label Data</strong>. In the <strong id="EN-US_TOPIC_0000001910067646__b65101545338">My Creations</strong> or <strong id="EN-US_TOPIC_0000001910067646__b1951015411335">My Participations</strong> tab, view the list of all labeling jobs.</li><li id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001398306840_li13948142542315">Locate the row that contains the target team labeling job. (The name of a team labeling job is followed by <span><img id="EN-US_TOPIC_0000001910067646__image65385723319" src="figure/en-us_image_0000001910027806.png"></span>.)</li><li id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001398306840_li176669516250">Choose <strong id="EN-US_TOPIC_0000001910067646__b154166960094918">More</strong> > <strong id="EN-US_TOPIC_0000001910067646__b90909737194918">Annotator Management</strong> in the <strong id="EN-US_TOPIC_0000001910067646__b25131880594918">Operation</strong> column. Alternatively, click the job name to go to the job details page, and choose <strong id="EN-US_TOPIC_0000001910067646__b8090873894918">Team Labeling</strong> > <strong id="EN-US_TOPIC_0000001910067646__b21590388694918">Annotator Management</strong> in the upper right corner.</li></ol>
|
|
<ul id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001398306840_en-us_topic_0000001185384417_ul143722450281"><li id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001398306840_en-us_topic_0000001185384417_li537294582812">Adding an annotator<p id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001398306840_en-us_topic_0000001185384417_p723845392118"><a name="EN-US_TOPIC_0000001910067646__en-us_topic_0000001398306840_en-us_topic_0000001185384417_li537294582812"></a><a name="en-us_topic_0000001398306840_en-us_topic_0000001185384417_li537294582812"></a>Click <strong id="EN-US_TOPIC_0000001910067646__b51924407594918">Add Member</strong>, select a member name, and click <strong id="EN-US_TOPIC_0000001910067646__b106113161294918">OK</strong>.</p>
|
|
<p id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001398306840_en-us_topic_0000001185384417_p177231347112320">Click <strong id="EN-US_TOPIC_0000001910067646__b126859238894918">Send Email</strong> in the <strong id="EN-US_TOPIC_0000001910067646__b207547023194918">Operation</strong> column to send the labeling job to the annotator by email.</p>
|
|
</li><li id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001398306840_en-us_topic_0000001185384417_li261614352915">Modifying annotator information<p id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001398306840_en-us_topic_0000001185384417_p744716392518"><a name="EN-US_TOPIC_0000001910067646__en-us_topic_0000001398306840_en-us_topic_0000001185384417_li261614352915"></a><a name="en-us_topic_0000001398306840_en-us_topic_0000001185384417_li261614352915"></a>Click <strong id="EN-US_TOPIC_0000001910067646__b107318295394918">Modify</strong> in the <strong id="EN-US_TOPIC_0000001910067646__b123334133694918">Operation</strong> column to modify the role of the annotator.</p>
|
|
</li><li id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001398306840_en-us_topic_0000001185384417_li57521789299">Deleting an annotator<p id="EN-US_TOPIC_0000001910067646__en-us_topic_0000001398306840_en-us_topic_0000001185384417_p16917111112269"><a name="EN-US_TOPIC_0000001910067646__en-us_topic_0000001398306840_en-us_topic_0000001185384417_li57521789299"></a><a name="en-us_topic_0000001398306840_en-us_topic_0000001185384417_li57521789299"></a>Click <strong id="EN-US_TOPIC_0000001910067646__b145727888294918">Delete</strong> in the <strong id="EN-US_TOPIC_0000001910067646__b191654383394918">Operation</strong> column to delete the annotator.</p>
|
|
</li></ul>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="datalabel-modelarts_0009.html">Text Labeling</a></div>
|
|
</div>
|
|
</div>
|
|
|