diff --git a/readme.txt b/readme.txt new file mode 100644 index 0000000..1b3b99c --- /dev/null +++ b/readme.txt @@ -0,0 +1,37 @@ +Quick and dirty script to count occurence of street name in a csv file using fuzzy matching + +arg1 is list of street (see example file rue2.csv) + +arg2 is csv file to be parsed (coming from barometre's results) + +example usage: + + +python script.py rue2.csv sample.txt | sort +Albert_Einstein 1 +Anatole_France 3 +Andre_Philip 1 +Antonin_Perrin 1 +Antonins 2 +Bonnet 1 +Boulevard 2 +Buers 1 +Centre 3 +Charles_Hernu 1 +Charmettes 2 +Charny 2 +Colin 1 +Croix_Luizet 2 +Cusset 5 +Descartes 1 +Docteur_Ollier 1 +Docteur_Rollet 1 +Doua 4 +Edouard_Vaillant 2 +Emile_Zola 13 +Flachet 1 +France 4 +Francia 1 +Francis_de_Pressense 3 +Gabriel_Peri 1 +... \ No newline at end of file