All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.fnklabs.draenei.analytics.ClusteringAlgorithm Maven / Gradle / Ivy

There is a newer version: 0.8.3
Show newest version
package com.fnklabs.draenei.analytics;

import org.jetbrains.annotations.NotNull;

import java.util.Set;

/**
 * Strategy that can create facet map from content
 */
interface ClusteringAlgorithm {

    /**
     * Build facets from content
     *
     * @param platformContent Content information from which will be build facets
     *
     * @return Set of facets
     */
    @NotNull
    Set build(@NotNull Object platformContent);

    /**
     * Build facets from text for search
     *
     * @param content Content information from which wil be build facets
     *
     * @return Set of facets
     */
    @NotNull
    Set build(@NotNull String content);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy