infineac.file_loader.extract_info_from_earnings_call_body#

infineac.file_loader.extract_info_from_earnings_call_body(body: str) dict[source]#

Extracts information from the body of a conference call. This information includes:

  • corporate participants (name and position)

  • conference call participants (name)

  • Presentation part of the earnings call

  • Q&A part of the earnings call

This function is a wrapper for the function structure_earnings_call() and extract_info_from_earnings_call_structured().

Parameters:

body (str) – The earnings call (body) as a string.

Returns:

Dictionary containing the extracted information from the earnings call. The key-value pairs are:

  • ’corp_participants’: list[dict] - List of corporate participants. Each participant consists of a dictionary with the keys ‘name’ and ‘position’.

  • ’corp_participants_collapsed’: list[str] - As a above, but name and position of each participant are collapsed into a single string.

  • ’conf_participants’: list[dict] - Conference call participants. Same format as above.

  • ’conf_participants_collapsed’: list[str] - Conference call participants with collapsed name and position.

  • ’presentation’: list[dict] - Presentation part of the earnings call as returned by extract_info_from_earnings_call_part().

  • ’qa’: list[dict] - Q&A part of the earnings call as returned by extract_info_from_earnings_call_part().

Return type:

dict