Fuzzy match
About this tool
How to use it
- Choose this tool.
- Add your table with Upload or drag and drop. Add a second table only if you want to match two lists.
- Choose the columns that hold the names to compare.
- Set how strict the match should be, then press Generate.
- Download the list of matches or groups.
What you get back
Try Fuzzy match in the Studio
Use it from your code
cURL
curl -X POST "https://app.h2i.davixlabs.io/v1/data/fuzzy-match" \
-H "X-Api-Key: $DAVIX_H2I_API_KEY" \
-F 'file=@document.pdf' \
-F 'other_sheet=Customers' \
-F 'left_columns=["Name"]' \
-F 'right_columns=["Company"]'Node.js
const { DavixH2I } = require('@davixlabs/h2i-sdk');
const h2i = new DavixH2I({ apiKey: process.env.DAVIX_H2I_API_KEY, baseUrl: process.env.DAVIX_H2I_URL });
const result = await h2i.data.fuzzyMatch({
"file": 'document.pdf',
"other_sheet": "Customers",
"left_columns": "[\"Name\"]",
"right_columns": "[\"Company\"]"
});
console.log(result.data, result.requestId);PHP
<?php
require 'vendor/autoload.php';
$h2i = new \Davix\H2I\Client(['apiKey' => getenv('DAVIX_H2I_API_KEY'), 'baseUrl' => getenv('DAVIX_H2I_URL')]);
$result = $h2i->data()->fuzzyMatch([
'file' => 'document.pdf',
'other_sheet' => 'Customers',
'left_columns' => '["Name"]',
'right_columns' => '["Company"]',
]);
echo $result->requestId;