Identifying cause and effect in a text