Added a tool to perform frequency-based matching