infineac.file_loader.extract_info_from_earnings_call_part#

infineac.file_loader.extract_info_from_earnings_call_part(part: str, corp_participants: list, conf_participants: list, type: str = 'presentation') list[dict][source]#

Extracts information from an earnings call part.

This part is either the presentation/transcript or Q&A. The extracted information contains the participant’s number of appearance, the the name of the participant, the participant’s position and the participant’s text. The position of the participant can be either ‘corporate’, ‘conference’, ‘operator’, ‘editor’, ‘moderator’ or ‘unknown’. The information is returned as a list of dictionaries, where each dictionary holds the information of the individual participants and their corresponding texts.

Parameters:
  • part (str) – Either the presentation/transcript or Q&A as a string.

  • corp_participants (list) – List of corporate participants.

  • conf_participants (list) – List of conference call participants.

  • type (str, default: "presentation") – Either ‘presentation’ or ‘qa’.

Returns:

List of dictionaries, where each dictionary holds the information of the individual participants and their corresponding texts within the given given part of the earnings call. The dictionary key-value pairs are:

  • ’n’: int - the participant’s appearance number

  • ’name’: str - the participant’s name

  • ’position’: str - The participant’s position

  • ’text’: str - the participant’s text

Return type:

list[dict]