Added a flag for normalise the search strings and search term. Refactored the accuracy calculation into its own function.