2023.1:AND (Collation Provider): Difference between revisions

From Grooper Wiki
Line 28: Line 28:
<br>
<br>
<br>
<br>
{|
[[File:20231_AND_Collation_Provider_Setting_Up_for_Classification_01.png]]
[[File:20231_AND_Collation_Provider_Setting_Up_for_Classification_01.png]]
<br>
|
<br>
[[File:20231_AND_Collation_Provider_Setting_Up_the_Collation_Provider_Setting_Up_for_Classification_01.png]]
[[File:20231_AND_Collation_Provider_Setting_Up_the_Collation_Provider_Setting_Up_for_Classification_01.png]]
<br>
|
<br>
[[File:20231_AND_Collation_Provider_Setting_Up_the_Collation_Provider_Setting_Up_for_Classification_02.png]]
[[File:20231_AND_Collation_Provider_Setting_Up_the_Collation_Provider_Setting_Up_for_Classification_02.png]]
|}


== What Does This Mean for Classification? ==
== What Does This Mean for Classification? ==
So, how exactly can an AND Collation Provider assist with Classification? Simply put, it is a tool that can be referenced on a Positive Extractor to help Grooper identify certain Document Types.
So, how exactly can an AND Collation Provider assist with Classification? Simply put, it is a tool that can be referenced on a Positive Extractor to help Grooper identify certain Document Types.

Revision as of 17:35, 7 February 2024

About

AND Collation is a Collation Provider that works by providing a result as long as its child extractors return one result. If all child extractors return a result (assuming there are more than one), then these results are fed into the parent extractor and displayed as a single result on the parent.



Setting Up the Collation Provider

Setting up for Data Extraction

AND Collation can be set up on a Data Type. To do so, select a Data Type in the Node Tree. Under General properties, select Collation. Expand the drop-down menu and select AND. Now to add the children. These can be Value Readers or Data Types, it doesn't matter. What does matter is that they return a result.

Minimum Hits

Be aware of a property called "Minimum Hits" that can be found when expanding the AND Collation Provider. Normally, this property is defaulted to zero. This ensures that all extractors must produce a hit in order to get a positive result. If the number of Minimum Hits is changed to, let's say 2, then all exactors need to meet at least two of the whatever many criteria are needed to produce a result. Be cautious, as this changing the Minimum Hits property could skew results. This is illustrated below.

Setting up for Classification

How does Classification play into the AND Collation Provider? Since the AND Collation relies on positive hits to extract data, you can make use of it through the Positive Extractor property on a Document Type. Simply use your configured Collation Provider as a referenced extractor for your Positive Extractor.

What Does This Mean for Classification?

So, how exactly can an AND Collation Provider assist with Classification? Simply put, it is a tool that can be referenced on a Positive Extractor to help Grooper identify certain Document Types.