Skip to content

Instantly share code, notes, and snippets.

View dcanevarollo's full-sized avatar

Douglas Canevarollo dcanevarollo

View GitHub Profile
@dcanevarollo
dcanevarollo / compare-tool.ts
Last active October 3, 2020 17:51
Tool to compare a set of texts, regarding their privatization, returning the binary classification of the target one and an average accuracy
import path from 'path'
import fs from 'fs'
import csv from 'csvtojson'
interface Tuple {
id: string
original: string
expected: string
parsed: string
lowercase: string