A search interface for data from the Politics of Patents case study (part of Copim WP6): this parses data from the archive of RTF files and provides additional data from the European Patent Office API. https://patents.copim.ac.uk
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789
  1. <?php
  2. function highlight_search_terms($array, $search_term){
  3. $replacement = "<span class='search_term'>$search_term</span>";
  4. $result = str_ireplace($search_term, $replacement, $array);
  5. return $result;
  6. }
  7. ?>