topic_coherence: Computes the coherence score of a topic

topic_coherenceR Documentation

Computes the coherence score of a topic

Description

The coherence score of a topic reflects how similar this topic is to the other topics of the same path.

Usage

topic_coherence(model, topic, aligned_topics)

Arguments

model

The index of the model containing the topic whose coherence we want

topic

The index of the topic whose coherence we want, within the current model

aligned_topics

An alignment object on which the coherence scores should be computed.


lasy/alto documentation built on June 23, 2024, 6:45 a.m.