conceptnet algorithm added now with parameters