2023:Labeled Value (Value Extractor): Difference between revisions
No edit summary |
No edit summary |
||
| Line 10: | Line 10: | ||
<blockquote> | <blockquote> | ||
A '''''Labeled Value''''' is an extractor type that can be used when configuring several data extraction tools such as a '''Value Reader''' or '''Data Type'''. It is designed to return | A '''''Labeled Value''''' is an extractor type that can be used when configuring several data extraction tools such as a '''Value Reader''' or '''Data Type'''. It is designed to return text segments that have a spatial relationship to a defined label. | ||
</blockquote> | </blockquote> | ||
==About== | |||
A '''''Labeled Value''''' is configured using two extractors: the '''''Label Extractor''''' and the '''''Value Extractor'''''. When the '''''Label Extractor''''' is set, Grooper uses spatial context to determine what value to return (for more on spatial context, see the [[Data Context]] wiki article). | |||
The '''''Labeled Value'''' extracts information in a similar way to collating a '''''Key-Value Pair'''''. Unlike a '''''Key-Value Pair''''', the extractor is self-contained in one object. There is no need to set one object as a "Key" and another object as a "Value". Instead, both the "Label" and the "Value" can be set on one object. | |||
==How To== | |||
===Configuring by Object Type=== | |||
<tabs style="margin:20px"> | |||
<tab Name="Configuring on a Value Reader" style="margin:20px"> | |||
{|cellpadding=10 cellspacing=5 | |||
|valign=top style="width:40%"| | |||
====Configuring on a Value Reader==== | |||
|- | |||
|valign=top style="width:40%"| | |||
# In your '''Node Tree''', create or select a '''Value Reader'''. | |||
#* Visit the [[Value Reader]] Wiki Page for instructions on how to create a '''Value Reader'''. | |||
# Select the "Value Reader" tab. | |||
# Click the drop down list next to '''''Extractor''''' and select ''Labeled Value''. | |||
| | |||
<!--(Screenshot to come)--> | |||
|} | |||
</tab> | |||
<tab Name="Configuring on a Data Type" style="margin:20px"> | |||
{|cellpadding=10 cellspacing=5 | |||
|valign=top style="width:40%"| | |||
====Configuring on a Data Type==== | |||
|- | |||
|valign=top style="width:40%"| | |||
# In your '''Node Tree''', create or select a '''Data Type'''. | |||
#* Visit the [[Data Type]] Wiki Page for instructions on how to create a '''Data Type'''. | |||
# Select the "Data Type" tab. | |||
# Click the drop down list next to '''''Local Extractor''''' and select ''Labeled Value''. | |||
| | |||
<!--(Screenshot to come)--> | |||
|} | |||
</tab> | |||
</tabs> | |||
==See Also== | |||
* [[Key-Value Pair (Collation Provider)]] | |||
Revision as of 12:27, 27 January 2023
| WIP |
This article is a work-in-progress or created as a placeholder for testing purposes. This article is subject to change and/or expansion. It may be incomplete, inaccurate, or stop abruptly. This tag will be removed upon draft completion. |
A Labeled Value is an extractor type that can be used when configuring several data extraction tools such as a Value Reader or Data Type. It is designed to return text segments that have a spatial relationship to a defined label.
About
A Labeled Value is configured using two extractors: the Label Extractor and the Value Extractor. When the Label Extractor is set, Grooper uses spatial context to determine what value to return (for more on spatial context, see the Data Context wiki article).
The Labeled Value' extracts information in a similar way to collating a Key-Value Pair. Unlike a Key-Value Pair, the extractor is self-contained in one object. There is no need to set one object as a "Key" and another object as a "Value". Instead, both the "Label" and the "Value" can be set on one object.
How To
Configuring by Object Type
Configuring on a Value Reader | |
|
|
Configuring on a Data Type | |
|