implemented LESK like algorithm