Took the computeScores2 method from cosine_similarity.py (which takes in an input file of JSON objects) and extended those to the jaccard_similarity.py and edit-value-similarity.py. The edit-value one slightly different syntax than the others, so it was a bit trickier to implement.
e.g. Now can run:
py -2 jaccard_similarity.py --fileInput json_to_input.json --outCSV test_output.csv
Took the computeScores2 method from cosine_similarity.py (which takes in an input file of JSON objects) and extended those to the jaccard_similarity.py and edit-value-similarity.py. The edit-value one slightly different syntax than the others, so it was a bit trickier to implement.
e.g. Now can run: py -2 jaccard_similarity.py --fileInput json_to_input.json --outCSV test_output.csv