code: private String detokenizeURLs(String line) {
      final Matcher linkMatcher = wrongLink.matcher(line);
      final StringBuffer sb = new StringBuffer();
      while (linkMatcher.find()) {
        linkMatcher.appendReplacement(sb,
            linkMatcher.group().replaceAll("\\s", ""));
      }
      linkMatcher.appendTail(sb);
      line = sb.toString();
      return line;
    }
docs: De-tokenize wrongly tokenized URLs.
  
  @param line
  the sentence
  @return the sentence containing the correct URL