def create_evidence_input(
    wikipedia_url,
    sentence_id,
    text):
  """Convert evidence inputs to their string representation.

  In particular, this means output looks like:
  Albert Einstein @@septitle@@ @@sid_1@@ the evidence text is here.

  Args:
    wikipedia_url: None or the url
    sentence_id: None or the string sentence_id
    text: evidence text

  Returns:
    The formatted string
  """
  tokens = []
  if wikipedia_url is not None:
    wikipedia_url = tf.compat.as_text(wikipedia_url)
    tokens.append(wikipedia_url.replace('_', ' '))
    tokens.append(SEPARATOR_TITLE)

  if sentence_id is not None:
    sentence_id = tf.compat.as_text(sentence_id)
    tokens.append(f'@@sid_{sentence_id}@@')

  tokens.append(text)
  return ' '.join(tokens)
Convert evidence inputs to their string representation.

  In particular, this means output looks like:
  Albert Einstein @@septitle@@ @@sid_1@@ the evidence text is here.

  Args:
    wikipedia_url: None or the url
    sentence_id: None or the string sentence_id
    text: evidence text

  Returns:
    The formatted string
  
language/serene/preprocessing.py