def MessageWord(word):
  # vroom.controls can't import vroom.messages, because that creates a circular
  # dependency both with itself (controls is imported for DEFAULT_MODE) and
  # vroom.test. Sorry, pylint
  # Pylint, brilliant as usual, thinks that this line redefines 'vroom'.
  # pylint: disable-msg=redefined-outer-name
  import vroom.messages  # pylint: disable-msg=g-import-not-at-top
  regex = re.compile(
      r'^(%s)$' % '|'.join(vroom.messages.STRICTNESS.Values()))
  match = regex.match(word)
  if match:
    return word
  raise UnrecognizedWord(word)
Return breakdown of amount contributed to each party.
dataset/ETHPy150Open google/vroom/vroom/controls.py/MessageWord--crossover with--dataset/ETHPy150Open sunlightlabs/python-transparencydata/influenceexplorer.py/Individual.party_breakdown