In convert.py, we (I) rather dumbly pass the court name to best_filename and then use Levenshtein to find the abbreviated name. This is done for every judgment.
We should put the abbreviated names into the courts table instead.
best_filename is now in analyse.py and we store the abbreviated names in the courts table and only calculate the Levenshtein distance when we first store the court record.
In convert.py, we (I) rather dumbly pass the court name to best_filename and then use Levenshtein to find the abbreviated name. This is done for every judgment.
We should put the abbreviated names into the courts table instead.