The second one is the Linguistic Style Coordination (LSC) metric proposed in (Danescu-Niculescu-Mizil et al., 2011), which quantifies the degree to which one individual immediately echoes the linguistic style of the person they are responding to.
as future work, we are considering to automatize this process by conducting automatic speaker diarization and transcription via automatic speech recognition.