Extracts necessary information from various texts