LF_ApplyTopicModel Processing Resource

This model uses a trained LDA topic model to assugn topic distributions to documents/instances. As for the training algorithm, a “document” for the topic model algorithm may be identical to a GATE document but can also be just the text under an instance annotation, represented by the token annotation type and optional feature.

If the instanceType parameter is empty, then the algorithm will check if the input annotation set contains any “Document” annotations and if yes, will use them. If there are no Document annotations, the algorithm will create one Document annotation that covers the whole GATE document and use that.

The following features are set in each of the “Document” or instanceType annotations:

AlgorithmParameters

Algorithm MalletLDA_CLUS_MR

The algorithm supports the following parameters for application:

Algorithm GensimLDA_CLUS_DR

NOT IMPLEMENTED YET