A text similarity approach for automated transposition detection of European Union directives