Skip to content

Instantly share code, notes, and snippets.

View walkerdb's full-sized avatar

Walker Boyle walkerdb

View GitHub Profile
@walkerdb
walkerdb / makedictionary.py
Last active August 29, 2015 14:25 — forked from eckardm/makenamedictionary.py
Creates a dictionary using the Name and LC Record Link columns from OpenRefine.
# import what we need
import csv
from fuzzywuzzy import fuzz
csv.field_size_limit(1000000000)
# what's coming form openrefine?
openrefine_persname_1 = 'openrefine_persname_1.csv'
openrefine_persname_2 = 'openrefine_persname_2.csv'
openrefine_corpname = 'openrefine_corpname.csv'